Skip to main content
Glama

Hands for Agents

Confirm or dispute delivery

confirm_delivery
Destructive

Accepts or disputes the delivery of a task. accepted=true closes the task and, for a card hold, captures it. accepted=false with a reason opens a dispute, answered by a human within 2 business days; it is possible at the evidence stage, before the balance is paid, as well as after delivery. Without either, the task counts as accepted 7 days after delivery. Returns the task status.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
reasonNoRequired when accepted is false: what differs from the quote.
task_idYesId of the task, of the form t_...
acceptedYestrue accepts the delivery, false disputes it.
access_tokenYesAccess token of the quote and its task, issued with the quote.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / accepted / description
      Added value: +"true accepts the delivery, false disputes it."
    • changedInput schema / properties / access_token / description
      Previous value: -"Token returned by request_quote."New value: +"Access token of the quote and its task, issued with the quote."
    • addedInput schema / properties / task_id / description
      Added value: +"Id of the task, of the form t_..."
  2. Added
  3. Removed
  4. Added
  5. Removed
  6. Added
  7. Removed
  8. Added
  9. Removed
  10. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations declare destructive/non-idempotent/openWorld, so the safety profile is covered. The description adds valuable context beyond that: capture of a card hold, human review within 2 business days, dispute eligibility across stages, and the 7-day auto-accept fallback. It does not explicitly state that acceptance is irreversible, but 'closes the task' implies it.

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?

Dense but front-loaded: the decision branches come first, the default fallback and return value last. Multiple semicolon-joined clauses make it slightly run-on, but 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?

For a mutation tool with no output schema, the description covers outcomes, the dispute lifecycle, and the timeout default, and notes it returns task status. Sufficient for correct invocation, though the error/auth expectations for an invalid access_token are unstated.

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 100%, so the baseline is 3. The description goes further by explaining the consequence of each accepted value and the conditional requirement of reason (dispute path), adding meaning beyond the schema's terse 'true accepts the delivery, false disputes it.'

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

Purpose5/5

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

States a specific verb+resource ('Accepts or disputes the delivery of a task') and immediately names the two modes. It is readily distinguishable from siblings like create_task, get_status, and request_quote.

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

Usage Guidelines4/5

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

Clearly states when to use each branch: accepted=true closes/captures, accepted=false with a reason opens a dispute, and the no-action default auto-accepts after 7 days. It also notes dispute timing relative to the evidence stage and payment. No sibling alternatives are named, but this tool has no true sibling alternative.

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