On this page
Reference
ctx_benchmark
Input contract and parameters for ctx_benchmark.
MCP tool · Analysis tools
Call this tool through your MCP client. Its availability depends on your active configuration and profile.
This registry contract is separate from the SDK. For terminal commands, use the CLI reference.
Parameters
Generated from the registered input schema. “Required” reflects the schema; individual actions can impose additional requirements.
actionstringBenchmark scope: omit for per-file, "project" for project-wide
formatstringOutput format for project benchmarks: json|markdown|terminal (default terminal)
pathstringRequiredFile path to benchmark (required for per-file mode)
Exact JSON schema
Inspect the complete input schema
{
"properties": {
"action": {
"description": "Benchmark scope: omit for per-file, \"project\" for project-wide",
"type": "string"
},
"format": {
"description": "Output format for project benchmarks: json|markdown|terminal (default terminal)",
"type": "string"
},
"path": {
"description": "File path to benchmark (required for per-file mode)",
"type": "string"
}
},
"required": [
"path"
],
"type": "object"
}Runtime description
The following is the tool's own agent-facing description, reproduced from the reviewed registry. It can contain implementation terminology; it does not expand the public stability commitment.
Read the agent-facing description
Local representation comparison for a file or project. It reports the selected modes' context size; it does not establish task quality or a universal gain.
WORKFLOW: use before ctx_read when choosing a local representation.
Provide a file path, or use action=project for project-wide results.
ANTIPATTERN: not the Research Performance Benchmark — this tool does not compare matched workloads or quality gates.Sources & versions
- mcp_manifest.rsrust/src/core/mcp_manifest.rsReviewed checkout
- registry.rsrust/src/server/registry.rsReviewed checkout
- dynamic_tools.rsrust/src/server/dynamic_tools.rsReviewed checkout
- Core checkout
50fbff09c9- Installed runtime
- 3.10.2
- SDK release
- 1.1.0
Separate baselines for source, CLI/configuration and SDK contracts. Review does not certify every platform or integration.
Versions & compatibility