Skip to main content
Glama

Read Specification Resource

read_specification_resource
Read-onlyIdempotent

Reads an ADIF 3.1.8 specification resource (e.g., 'mode', 'fields', 'all').

Instructions

Reads an ADIF 3.1.8 specification resource (e.g., 'mode', 'fields', 'all').

An unknown or unreadable name is a tool execution error, so the model can see it failed and correct the name rather than being handed an error document that looks like a successful result.

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": {
      "resource_name": "<resource_name>"
    },
    "name": "read_specification_resource"
  }
}

Input Schema

NameRequiredDescriptionDefault
resource_nameYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.4

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description adds genuinely non-obvious behavior not captured by annotations: an unknown or unreadable resource name is a hard execution error rather than a returned error document, which tells the agent how to interpret failure signals. It does not describe output size or shape, but an output schema exists.

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

Conciseness5/5

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

Two short sentences with the core action and examples front-loaded, followed by the one behavioral caveat that matters. No filler or redundancy.

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?

With an output schema and full annotation coverage the description need not explain returns or safety, and it adds the useful error-mode detail. The remaining gap is discoverability of valid resource names: only three examples are given and no route to a complete list is mentioned, which is the main thing an agent needs to call this correctly.

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 description coverage is 0% and the single parameter has no type-level documentation or enum, so the description carries the burden. It partially compensates by naming three valid values ('mode', 'fields', 'all'), but does not indicate the full set of accepted names or how to discover them, leaving the agent to guess when the name is not one of the examples.

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?

States a specific verb ('Reads') and resource ('ADIF 3.1.8 specification resource') and illustrates with concrete examples ('mode', 'fields', 'all'). It is clear what the tool returns conceptually, though it does not explicitly distinguish itself from siblings like list_enumerations or search_enumerations, which could plausibly surface overlapping specification data.

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 guidance on when to choose this tool over the sibling tools, nor on when a specification resource is the right source versus enumerations or validation. The only conditional behavior described is a failure mode, not usage selection.

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