Skip to main content
Glama

scan_legacy_bt

Read-only

Scans legacy Bittensor Python and shell scripts to report incomplete v11 migration coverage.

Instructions

Scan Python and straightforward shell scripts, reporting incomplete coverage.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "path": "<path>"
    },
    "name": "scan_legacy_bt"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
max_filesNo
max_findingsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.4/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is clear. The description adds that it scans Python and 'straightforward' shell scripts and reports incomplete coverage, but it does not explain what 'incomplete coverage' means or how max_files/max_findings affect behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single concise sentence with no wasted words, but it is under-specified for the tool's complexity. Important details such as the required path and scan limits are omitted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a scanning tool with three parameters and no output schema, the description is notably incomplete. It does not explain the expected return format, what 'incomplete coverage' reports, or how the parameters constrain the scan.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema has three parameters with 0% description coverage, and the description does not mention any of them. It says nothing about the required path, max_files, or max_findings, leaving their meaning and usage entirely undocumented.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and file types: 'Scan Python and straightforward shell scripts.' However, 'reporting incomplete coverage' is vague and does not clarify what is being checked or what 'coverage' refers to, so the overall purpose remains only partially clear.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool, when not to use it, or which sibling tool to choose instead. It only states the action without any situational context.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.