Skip to main content
Glama

prepare_agent_event

Read-onlyIdempotent

Validate an agent execution declaration and compute its commitment. Does not create a receipt.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
eventYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainYes
eventYes
commitmentYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds a genuinely non-redundant trait beyond the annotations: validation is a pure computation that does not persist anything ("Does not create a receipt"), which tells the agent this call has no lasting side effect. It omits failure semantics and what happens when validation rejects the event.

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, front-loaded with the positive action and followed by the exclusion. No filler, no restatement of the tool name, and every clause carries 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?

An output schema exists, so return values and the computed commitment need no explanation in the description, and the description covers the core purpose plus the persistence boundary. The remaining gap is behavioral on the input side: nothing explains what constitutes an invalid declaration or how validation failure is surfaced, which matters given the deeply nested required object.

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?

There is one nested, fully required, heavily constrained event object, and schema description coverage is 0% – the schema enforces shape through patterns and consts but explains nothing about field meaning. The description refers only to an "agent execution declaration" and commitment, adding no guidance on the required fields (version, hashes, timestamps, outcome), so it does not compensate for the coverage gap.

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 specific operations (validate a declaration, compute its commitment) on a specific resource (agent execution event), which is clearer than the tool name alone. It also partially distinguishes itself from siblings by negating issue_agent_receipt's behavior. It stops short of naming the sibling it complements directly, so it is a strong 4 rather than 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?

"Does not create a receipt" implies the boundary with issue_agent_receipt, and "prepare" implies a pre-step, but the description never states when an agent should call this instead of going straight to issue_agent_receipt or verify_agent_receipt. Usage must be inferred from the negation rather than being 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.

Resources