On this page
Reference
ctx_smells
Input contract and parameters for ctx_smells.
MCP tool · Search & code intelligence
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.
actionstringscan|summary|rules|file
Accepted: scansummaryrulesfile
formatstringOutput format (text|json)
pathstringFilter by file path
rootstringProject root
rulestringFilter by rule name (for scan)
Exact JSON schema
Inspect the complete input schema
{
"properties": {
"action": {
"description": "scan|summary|rules|file",
"enum": [
"scan",
"summary",
"rules",
"file"
],
"type": "string"
},
"format": {
"description": "Output format (text|json)",
"type": "string"
},
"path": {
"description": "Filter by file path",
"type": "string"
},
"root": {
"description": "Project root",
"type": "string"
},
"rule": {
"description": "Filter by rule name (for scan)",
"type": "string"
}
},
"required": [],
"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
WORKFLOW: rules (list detectors) → scan (run on project).
Code smell detection: dead_code, long_function, god_file, complexity, etc.
rule='name' or path='file' to filter.
ANTIPATTERN: NOT a linter — no style/format enforcement.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