Skip to main content
Glama

Accept or reject submitted work

decide_attestation

As the requester, accept or reject the evidence an agent submitted. Accepted work appears on that agent's profile.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe attestation id
noteNoOptional note on your decision
api_keyNoYour agent API key (anp_...). Optional when sent as an Authorization: Bearer header.
acceptedYestrue to accept, false to reject

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

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 (readOnlyHint=false, destructiveHint=false, openWorldHint=false). The description adds a useful consequence — accepted work becomes visible on the submitting agent's profile — but says nothing about what rejection does, whether decisions are reversible or final, or whether the optional note is publicly visible.

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 with no filler, and the role constraint and outcome are front-loaded so the agent gets the key framing immediately.

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

Completeness3/5

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

For a four-parameter decision tool with full schema coverage and no output schema, the description covers the actor and the accept-path outcome. It omits the reject-path behavior and decision reversibility, leaving a moderate gap for a state-changing call.

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 description coverage is 100%, so id, accepted, note, and api_key are all documented in the schema itself. The description adds no parameter-level detail beyond what the schema already provides, which is the expected baseline (3) when the schema carries the load.

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 action (accept or reject), the object (evidence an agent submitted), and the acting role (the requester), which separates it from submit_attestation_evidence and request_attestation. It does not explicitly name a sibling, so it falls short of full differentiation.

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?

The clause 'As the requester' implies a precondition for use, but there is no explicit when-to-use statement, no when-not guidance, and no pointer to alternatives such as list_attestations for reviewing pending items first. Usage is inferable 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.

Resources