Skip to main content
Glama

lookup_migration_rule

Read-only

Finds migration rule IDs by exact match or case-insensitive substring, helping developers locate the relevant v11 rule when migrating legacy Bittensor code.

Instructions

Find exact rule IDs or case-insensitive substrings.

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": {
      "query": "<query>"
    },
    "name": "lookup_migration_rule"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

The annotations already establish that this is a read-only, non-open-world operation. The description adds useful matching behavior by stating that queries can be exact rule IDs or case-insensitive substrings, but it does not describe result behavior, no-match handling, or output shape.

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

Conciseness4/5

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

The description is a single front-loaded sentence with no wasted words. It is concise, though its terseness leaves important usage and parameter details unstated.

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

Completeness3/5

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

For a simple read-only lookup with an output schema and annotations, the description covers the core matching idea adequately. However, it omits what migration rules are, when this lookup is preferable to sibling tools, and enough query-format detail for an agent to use it confidently.

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

Parameters3/5

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

With one parameter and 0% schema description coverage, the description must explain the query field. It does so partially by saying the query can be an exact rule ID or a case-insensitive substring, but it does not clarify matching precedence, multi-ID handling, or expected input format.

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

Purpose4/5

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

The description states a specific action and matching target: find rule IDs or case-insensitive substrings. The tool name supplies the migration-rule context, but the description itself does not differentiate this lookup from sibling tools such as lookup_v11_api.

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?

It gives a query-matching hint but no explicit guidance on when to use this tool versus alternatives. There are no prerequisites, exclusions, or routing cues for the sibling lookup tools.

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