Skip to main content
Glama

Query the specification table

query_specs
Read-only

Structured specification table filtered by quantity (e.g. accuracy, wavelength, range), unit family, unit and value range, with source document and license. Paid ($0.001, x402).

Input Schema

NameRequiredDescriptionDefault
maxNoMaximum value, in the requested unit
minNoMinimum value, in the requested unit
unitNoExact unit, e.g. nm, MPa, N·m
limitNoMaximum number of results to return
queryNoOptional words the source document must contain
familyNoUnit family: length, pressure, torque, force, temperature, frequency, power, voltage, current, mass, volume, time, percent
quantityNoe.g. accuracy, resolution, range, wavelength, torque, temperature

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / limit / description
      Added value: +"Maximum number of results to return"
    • addedInput schema / properties / max / description
      Added value: +"Maximum value, in the requested unit"
    • addedInput schema / properties / min / description
      Added value: +"Minimum value, in the requested unit"
  2. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description goes beyond them by disclosing the cost and payment mechanism ('Paid ($0.001, x402)') and the return payload ('with source document and license'), which the agent needs before calling. It stops short of describing pagination or result caps beyond what the limit parameter implies.

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 compact sentences with no filler. The heavy filter list makes the first sentence slightly run-on, and the critical payment caveat is deferred to the end rather than front-loaded, but overall it is efficient.

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 paid, read-only 7-parameter lookup with no output schema, the description covers cost, filters, and returned fields, which is most of what is needed. It omits the crucial routing information relative to sibling search_specs and says nothing about result pagination, leaving a gap for an agent choosing between spec-retrieval tools.

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 100%, and the schema spells out examples and constraints for max, min, unit, family, quantity, etc. The description only loosely maps to the quantity/family/unit/range parameters without adding syntax or precision beyond the schema, so the baseline 3 applies.

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 clearly identifies the resource (a structured specification table) and enumerates the filter dimensions (quantity, unit family, unit, value range) plus the payload it returns (source document and license). However, it never differentiates this tool from the sibling search_specs, so an agent cannot tell which one to select from the description alone.

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 exclusions, and no mention of the obvious alternative search_specs. The agent must infer usage purely from the name and filter list.

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