Skip to main content
Glama

Compare rating criteria

compare_rating_criteria
Read-onlyIdempotent

Use this when a veteran names a VA diagnostic code and wants the rating criteria for it. It is not a lookup of what a rating pays and it does not combine ratings. Returns the VASRD criteria on file for that code (a code, not a condition name) at every tier, highest percentage first, with the condition name, body system and 38 CFR reference. A code that 38 CFR 4.71a, 4.73 or 4.124a rates in two columns, one for the dominant arm (Major) and one for the non-dominant arm (Minor), returns the regulation's own table and an empty tiers list: schedule is that table as published, with schemaVersion, variant and provenance (the eCFR edition date and the SHA-256 of the source text), every row carrying both published percentages, and scheduleText renders it with its headings, footnotes and the notes whose stated scope includes the code. Notes in the same table whose applicability is not established are quoted in a separate labelled section; placement alone does not establish that they apply to this code. For a neuritis or neuralgia code rated on one of those nerve scales, schedule lists each maximum with its qualifying text and ratedOnScale is the scale. The response lists every row and every maximum without choosing one, and when that table cannot be read it carries a message and an eCFR link instead, even with no criteria on file. Other codes with no criteria on file return an empty result. Every response carries a source block: the 38 CFR reference, a link to the current rating schedule at the publisher, and a scheduleSnapshot whose retrievedAt is the date this text was read from eCFR. That date is null for the criteria on file, with a note saying it is not recorded, so the criteria are usable as the schedule on file and the current text governs where the two differ; for a table under schedule it is the date the snapshot was read.

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": {
      "diagnosticCode": "<diagnosticCode>"
    },
    "name": "compare_rating_criteria"
  }
}

Input Schema

NameRequiredDescriptionDefault
diagnosticCodeYesVA diagnostic code (e.g., "8100" for migraines, "5260" for knee).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

With no output schema, the description carries the full burden and does so richly: it discloses the return shape (tiers highest-first with condition name, body system, 38 CFR reference), the two-column arm-table case that yields an empty tiers list plus a published schedule, the neuritis/neuralgia scale handling, the source block with retrievedAt and snapshot semantics (null for on-file criteria), and the failure path (message plus eCFR link). These are non-obvious behaviors well beyond the readOnly/idempotent annotations.

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 front-loaded with the usage trigger, and most clauses carry genuine edge-case information, but the body is a single run-on paragraph mixing return format, table semantics, notes handling, and snapshot provenance. Repetition ('the criteria on file,' 'schedule') and stacked clauses make it harder to scan than the content warrants.

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

Completeness5/5

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

For a one-parameter tool with no output schema and unusually complex branching behavior, the description covers the normal path, the two-column/nerve-scale exceptions, empty results, unreadable-table failures, and provenance dating. Nothing an agent needs to interpret the response is missing.

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

Parameters4/5

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

Schema coverage is 100% for the single parameter, and the schema already gives examples. The description adds meaningful clarification that the input must be 'a code, not a condition name,' which guards against a likely wrong-input mistake—slightly above the baseline for a fully documented parameter.

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

Purpose5/5

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

The opening states a specific verb+resource (retrieve VASRD rating criteria for a diagnostic code) and explicitly carves out two sibling behaviors: it is 'not a lookup of what a rating pays' (lookup_compensation_rate) and 'does not combine ratings' (calculate_combined_rating). An agent can route between these without opening any schema.

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

Usage Guidelines4/5

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

It gives a clear trigger ('when a veteran names a VA diagnostic code and wants the rating criteria') plus two explicit exclusions that disambiguate it from the pay-lookup and combined-rating siblings. It stops short of naming those siblings directly, so the routing relies on inference from the described behaviors.

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