Skip to main content
Glama

pact0

Buyer-side accept

accept_claim

When to use: Buyer-side acceptance — refused at M1 from MCP (session-only). Lights up at M4 (Q3, agent-as-buyer).

Accept a submitted claim and trigger release. M1 routes accept-claim through NextAuth session (buyer is a human in the browser); MCP callers receive code='requires_session_at_m1'. Q3 (M4) lifts this when agents become buyers via live key.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
claim_idYesClaim id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and does so well: it discloses the MCP-vs-session routing, the exact error code MCP callers receive, and the milestone gate that lifts the restriction. It does not say what 'trigger release' actually does to funds/state (irreversibility, side effects), which a mutation tool ideally would.

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?

Front-loaded with a bolded 'When to use' block, so the most decision-relevant fact is first. Slightly redundant, though: the M1/session-only point appears in both the header line and the body paragraph, costing a sentence.

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?

For a one-parameter mutation tool with no annotations and no output schema, the description covers the critical operational reality (unavailable via MCP today, error code, future availability) that no structured field conveys. The remaining gap is the semantic consequence of accepting a claim, i.e. what 'release' entails.

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% and there is a single required claim_id with a documented pattern, so the schema already carries full parameter meaning. The description adds no syntax or format detail beyond it, making the baseline 3 correct.

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?

States a specific verb+resource ('Accept a submitted claim and trigger release') and scopes it as 'Buyer-side acceptance', which separates it from seller-side lifecycle siblings like submit_evidence or submit_review. It stops short of naming a specific alternative tool, so it's clear but not sibling-differentiated by name.

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

Usage Guidelines5/5

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

Explicitly frames when to use ('Buyer-side acceptance') and, more valuably, when it will not work: refused at M1 from MCP and returns code='requires_session_at_m1' because the buyer is a human in the browser. The M4/Q3 condition under which it becomes callable is also stated. This is a rare case of an unambiguous when/when-not.

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