Skip to main content
Glama

Historical value comparison

xguard.compare
Idempotent

Compare recorded observations for one fact at two UTC timestamps. USD 0.001 per atomic 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": {
      "fact": "<fact>",
      "from": "<from>",
      "to": "<to>"
    },
    "name": "xguard.compare"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYes
factYes
fromYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.3/5.0
Behavior3/5

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

The annotations already declare idempotentHint=true and destructiveHint=false, while the description adds useful behavioral context by disclosing pricing of 'USD 0.001 per atomic result'. However, it does not explain authorization needs, rate limits, or what happens with missing observations, which matters for a paid comparison operation.

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 no wasted wording. The core operation is front-loaded, and the cost note is compact and relevant.

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?

The tool is conceptually simple, but with no output schema and no schema parameter descriptions, the definition should say more about the returned comparison result and timestamp format. The pricing disclosure is helpful, yet the definition remains only minimally complete for an agent to call it confidently.

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 must carry parameter meaning. It identifies the three inputs conceptually as one fact and two UTC timestamps, but it does not specify timestamp format or clarify constraints such as the observed maxLength of 24 for from/to.

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 names a specific verb and resource ('Compare recorded observations') and scopes it to 'one fact at two UTC timestamps'. It is clear enough to distinguish from sibling tools like history or changes, but it does not explicitly contrast itself with those alternatives.

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?

The description implies the comparison use case but gives no explicit when-to-use guidance, no prerequisites, and no mention of when another sibling tool such as xguard.history or xguard.changes would be preferable.

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.