Skip to main content
Glama

Universal Paper

validate_bundle

Read-only

Check every agreement and event in a Universal Paper bundle against the axioms (signatures, hashes, Mandates, Term typing). bundle is a bundle object or JSON text. Returns per-event accept/reject with the rule that rejected it.

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": {
      "bundle": "<bundle>"
    },
    "name": "validate_bundle"
  }
}

Input Schema

NameRequiredDescriptionDefault
bundleYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, non-destructive, closed-world, so the safety profile is covered. The description adds genuinely new context: what rule categories are checked and that the result is per-event accept/reject annotated with the failing rule, which tells the agent what comes back on failure. It does not mention whether a malformed bundle raises an error versus returning a rejection.

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?

Three compact sentences: purpose first, input format second, return shape third. No filler, no restatement of the tool name, and every sentence carries distinct information.

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?

No output schema exists, and the description does cover the return shape at a high level, plus the single parameter's accepted forms. Remaining gaps are modest for a read-only validation tool: error behavior for a malformed bundle and the granularity/naming of the per-event results.

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

Parameters4/5

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

Schema coverage is 0% for a single parameter whose schema is an opaque anyOf(object|string). The description resolves exactly that ambiguity by stating `bundle` may be a bundle object or JSON text, which the schema alone does not convey in plain terms. It adds no detail on bundle internals, but the union-type clarification is the meaningful gap to close here.

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?

Specific verb + resource + scope: 'Check every agreement and event in a Universal Paper bundle against the axioms', with the axiom categories enumerated (signatures, hashes, Mandates, Term typing). It doesn't name a sibling or state what distinguishes it from check_event, which likely validates a single event, so it falls short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the phrase 'every agreement and event in a bundle', which suggests whole-bundle validation rather than a single item. But there is no explicit when-to-use, when-not, or pointer to check_event / simulate_events as the alternative for narrower needs, leaving the agent to infer the boundary.

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.