Skip to main content
Glama

Autonomous Base M2M Compute Gateway

compute_json_attest

Canonicalizes JSON deterministically and issues a SHA-256 cryptographic receipt.

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": "compute_json_attest"
  }
}

Input Schema

NameRequiredDescriptionDefault
demoNo
payloadNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.7/5.0
Behavior2/5

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

No annotations, so the description carries the full behavioral burden. It says it issues a receipt but not whether it's a pure, deterministic read-only computation, whether anything is persisted, what the receipt contains, or what 'canonical' form is used (JCS? sorted keys?).

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?

A single tight sentence with no filler, front-loaded with the operation. Brevity is not the problem; the omission is in detail, not wording.

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?

For a tool with a nested object parameter, no output schema, and no annotations, the description leaves critical gaps: input expectations, canonicalization algorithm, and the shape of the receipt are all undocumented.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Two parameters with 0% schema description coverage: an untyped 'demo' string and a nested 'payload' object. The description never mentions either parameter, so an agent cannot know that 'payload' is the JSON to canonicalize or what 'demo' does.

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 states a specific verb and resource: canonicalizing JSON deterministically and issuing a SHA-256 receipt. It is distinguishable from the sibling tools (risk, compliance, tx verification), though it doesn't clarify whether the receipt is returned or stored.

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?

No guidance on when to use this versus alternatives, no prerequisites, no mention of determinism requirements or when a caller would need a receipt versus a plain hash. Usage must be inferred entirely.

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