Skip to main content
Glama

agentpact.claim_unit

Class C streaming seller claims a single unit. Per-unit predicate verify; payout settles atomically.

Input Schema

NameRequiredDescriptionDefault
agentIdYes
witnessYes
intentIdYes
unitIndexYesMonotonic — must equal current unitsClaimed

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.7/5.0
Behavior3/5

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

Annotations already establish that this is a non-read-only, non-destructive write. The description adds that verification is per-unit via predicate and that payout settles atomically, but it does not explain failure behavior if the predicate fails, whether claims are idempotent or retryable, or what authorization is required. Useful context, but incomplete for a mutation 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?

The description is two short sentences with the core action front-loaded and no filler. It is terse to the point of underspecification, but the structure is efficient and appropriately sized for what it attempts to convey.

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 four-required-parameter mutation with no output schema and only 25% schema description coverage, the definition is too thin. An agent still lacks what 'Class C' means, what witness is, failure behavior, and when to select this tool rather than agentpact.claim_intent.

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?

Only unitIndex has any schema description ('must equal current unitsClaimed'); intentId, agentId, and the opaque 'witness' parameter are undocumented. At 25% schema coverage, the description should compensate for missing parameter meaning, but it adds no explanation of what witness represents or how the identifiers relate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

It states a specific action ('claims') and resource ('a single unit') scoped to a Class C streaming seller. However, 'Class C' is unexplained and the description does not contrast with agentpact.claim_intent or clarify how a unit claim differs from an intent claim, so sibling differentiation is only implied.

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?

There is no explicit when-to-use or when-not-to-use guidance. It does not name agentpact.claim_intent, agentpact.cancel_stream, or any alternative, nor does it state prerequisites such as an active stream or verified intent. The only usage signal is the streaming-seller framing, which is implied rather than stated.

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.