Skip to main content
Glama

Update cooperation request status

cooperation_request_update
Idempotent

Record a cooperation request state update with expected revision and durable receipt; sender cancels, recipient reports other states, consent/acceptance stay separate.

Instructions

Record processing metadata with a per-request revision and durable receipt.

Receipt, explicit agreement consent, execution cancellation and validated result acceptance remain separate. This tool never changes a prepared worker contract.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
requestYesClosed agents-core/cooperation/1 request-update object or raw JSON. Required protocol, repository_id, participant_id, capability, operation_id, message_id, expected_revision (>=1), state (accepted/input_required/completed/declined/failed/cancelled). Optional subject_id, reason, response_message_id. Only sender cancels; recipient reports other states. reason required for input_required/declined/failed/cancelled; completed requires a matching stored response_message_id. Terminal states are immutable. Retry uncertain writes with the identical operation_id and payload. Maximum 32768 UTF-8 bytes; no unknown fields or duplicate keys.
workspaceNoAbsolute path of your working directory, the project this session works in. Pass it whenever you have one: one server can serve several sessions.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv26.10.16

TDQS

C2.8/5.0
Behavior3/5

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

Annotations already declare idempotentHint=true and destructiveHint=false, and the schema documents retry/revision semantics in depth. The description adds modest context: per-request revisioning, durable receipt, and the explicit disclaimer that receipt/consent/cancellation/acceptance are separate concerns and that a prepared worker contract is never altered. That is useful scope clarification but no new operational behavior beyond annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is short at three sentences/fragments, but the leading sentence is obscure and the second sentence enumerates concepts without explaining the tool's action. Space is spent on abstractions rather than front-loading the concrete purpose.

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?

With a present output schema, full annotation coverage, and a fully documented parameter schema, the description need not explain returns or params. However, it omits the primary usage context (when to record a state transition versus reading or sending), leaving a noticeable gap for a mutation tool surrounded by similar siblings.

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 the nested 'request' schema is exhaustively documented (state machine, terminal immutability, required reason fields, byte limits). The description adds no parameter-level meaning beyond the schema, so the baseline of 3 applies.

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?

The name/title says 'Update cooperation request status', but the description reframes it as 'Record processing metadata with a per-request revision and durable receipt', which is abstract jargon rather than a concrete verb+resource. It states a scope boundary ('never changes a prepared worker contract') but never distinguishes itself from siblings like cooperation_request_status, cooperation_send, or cooperation_ack.

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 guidance and no alternative named among the many cooperation_* siblings. The only routing signal is a negative one ('This tool never changes a prepared worker contract'), which tells the agent what the tool is not rather than when to call it.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.