Skip to main content
Glama

Veteran Benefit Desk

Get a 38 CFR diagnostic code

get_diagnostic_code
Read-onlyIdempotent

Diagnostic code record with linked condition and rating levels. 1 credit.

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": {
      "code": "<code>"
    },
    "name": "get_diagnostic_code"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, closed-world and non-destructive, so the safety profile is covered. The description adds one genuinely useful behavioral fact — '1 credit' cost — but says nothing about what happens when a code is not found or how linked condition/rating data is shaped.

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?

Two terse sentences with the payload description front-loaded and the cost note last; nothing is wasted. The phrasing is telegraphic ('1 credit.') rather than fully grammatical, but for a simple lookup it reads efficiently.

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 single-parameter read tool with full safety annotations and no output schema, the definition covers payload contents and cost. It leaves gaps on input code format and on failure behavior, which matter for an agent constructing a call from a condition name or a formatted code string.

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?

Schema coverage is 0% for the single 'code' parameter, but the parameter is self-evidently a diagnostic code given the tool name and description, and the schema constrains it to 1–10 characters. The description adds no format guidance (e.g., '5210' vs. a prefixed form) and no padding/partial-match behavior, so it neither compensates for nor worsens the coverage gap.

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 definition identifies the resource as a 'Diagnostic code record with linked condition and rating levels', which tells an agent what is retrieved and what it contains, distinguishing it from get_condition (the condition record itself). It is a noun fragment rather than a verb+resource statement, so it leans on the title for the action, but the payload description is specific.

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, no prerequisite (e.g., needing a known code vs. discovering one via search_conditions), and no named alternative. An agent must infer whether to look up a diagnostic code directly or search conditions first.

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