Skip to main content
Glama

Open Footprint: unit dictionary

ofp_units
Read-onlyIdempotent

Use this when you need unit codes before converting or validating. No args lists quantity types; quantity lists its units; code resolves one symbol or alias.

detail=full is large; prefer summary. Unresolved codes answer 422 with candidates; unambiguous case/notation variants resolve.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "ofp_units"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeNo
limitNo
detailNo
offsetNo
quantityNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), and the description adds real behavior beyond them: full detail is a large payload, unresolved codes return 422 with candidate suggestions, and unambiguous case/notation variants resolve automatically. Pagination behavior of the list modes is not disclosed, which keeps it off a 5.

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?

Three short sentences, front-loaded with the trigger condition and then the mode-to-argument mapping. The telegraphic style ("No args lists quantity types") is dense but readable; nothing is filler.

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

Completeness4/5

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

For a five-parameter, no-output-schema lookup tool, the definition covers mode selection, payload size tradeoffs, and error recovery, which is most of what an agent needs. The missing pagination semantics for limit/offset are the remaining meaningful gap.

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%, so the description carries the full burden. It does explain the meaning of code, quantity, and the detail enum (summary vs full), but limit and offset are never mentioned, leaving two of five parameters semantically undocumented in either place.

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 resource (unit codes / unit dictionary) and enumerates its three lookup modes — empty args lists quantity types, quantity lists units, code resolves one symbol or alias. It also positions itself relative to siblings by naming the converting/validating case, though it does not name ofp_convert or ofp_validate directly.

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?

Opens with an explicit when-to-use condition ("when you need unit codes before converting or validating") and tells the agent which argument combination selects which mode. It stops short of naming the sibling tools to use for the actual conversion/validation, so routing is implied rather than spelled out.

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.