Skip to main content
Glama

integration-agent

Hash a tool list

drift_hash
Read-onlyIdempotent

Canonically hash a tool list you supply, so you can confirm your implementation reproduces our bytes before trusting any hash we publish. ensure_ascii=False is the flag people miss.

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": {
      "tools": "<tools>"
    },
    "name": "drift_hash"
  }
}

Input Schema

NameRequiredDescriptionDefault
toolsYesMCP tool objects as returned by tools/list

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed world), so the bar is lower. The description does add genuine behavioral value by warning about the ensure_ascii=False serialization gotcha, but it never states the hash algorithm, canonicalization rules (key ordering, whitespace), or output format — the things that actually determine byte-level reproducibility. It is helpful but materially incomplete for a hashing contract tool.

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 sentences, front-loaded with the action, and the closing gotcha is short and memorable. The phrasing "the flag people miss" is informal but functional; nothing is wasted, though the algorithm gap means brevity here comes at a cost.

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

Completeness2/5

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

With no output schema, the description carries the burden of explaining what comes back, and it does not — no algorithm, no digest format, no indication of whether a prefix or length is applied. For a tool whose entire purpose is byte-exact reproducibility, omitting the canonical form specification leaves a significant hole.

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 coverage is 100% and the single parameter is already described as "MCP tool objects as returned by tools/list." The description only reinforces that the caller supplies the list; no extra constraints, ordering rules, or shape requirements beyond the schema baseline.

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?

"Canonically hash a tool list you supply" gives a specific verb plus resource and makes the determinism intent clear, which separates it from drift_check/drift_diff. It stops short of explicitly naming a sibling or stating how it differs from drift_check, so it is clear but not fully differentiated.

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?

The clause "so you can confirm your implementation reproduces our bytes before trusting any hash we publish" tells the agent when to reach for it — a verification step preceding reliance on a published hash. There are no explicit exclusions or pointers to alternatives, so the guidance is contextual rather than complete.

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