Skip to main content
Glama

Railflag

Explain one flag

explain_item
Read-only

The source vendor's definition of one flag next to what it becomes in Railflag, and its issues.

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": {
      "planId": "<planId>",
      "key": "<key>"
    },
    "name": "explain_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYes
planIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds real value beyond that by disclosing the shape of the response — vendor definition, Railflag equivalent, and flagged issues — which matters because there is no output schema. It still omits whether a missing flag errors or returns empty, and how 'issues' are characterized.

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?

It is a single short sentence with no padding, and the return-content information is front-loaded. However, it is a sentence fragment lacking a verb, and its brevity comes at the cost of the parameter and usage detail an agent needs.

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?

Two required parameters are undocumented, there is no output schema, and the description does not say what 'issues' contains or how the vendor/target comparison is structured. For a lookup whose entire value is the returned comparison, an agent is left guessing about both inputs and output shape.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must carry parameter meaning and it does not. 'One flag' loosely implies the key parameter, but planId is never mentioned despite being required, and there is no indication whether key is a name, an ID, or a vendor-side identifier — a distinction that matters for a source-vs-target mapping tool.

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 names a specific resource ('one flag') and its content ('the source vendor's definition ... next to what it becomes in Railflag, and its issues'), which tells an agent roughly what comes back. But it is a noun phrase with no verb, so it never states the operation, and it does not distinguish itself from close siblings like get_flag or compare_decisions.

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?

There is no when-to-use guidance at all: nothing says whether to call this instead of get_flag, get_code_guide, or compare_decisions, and no prerequisites or context are given. The agent must infer usage purely from the tool name.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources