Skip to main content
Glama

Acknowledge cooperation messages

cooperation_ack
Idempotent

Record delivery processing for private inbox messages without deleting them.

Instructions

Record delivery processing for private inbox messages without deleting them.

Delivery acknowledgement does not accept an agreement, artifact or task and
grants no resource claim or permission. Acknowledging refreshes the
recipient's liveness on the service clock like a heartbeat, bumping no
repository revision and clearing no suspicion. Schema: agents-core://cooperation/schema.
workspace names the physical checkout this execution runs in, and is followed only
inside an owner-registered checkout grant of this session's workspace; any other
path is scope_denied.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "request": "<request>"
    },
    "name": "cooperation_ack"
  }
}

Input Schema

NameRequiredDescriptionDefault
requestYesClosed agents-core/cooperation/1 delivery acknowledgement object or raw JSON. Required protocol, repository_id, participant_id, capability, operation_id, message_ids (1..50 unique IDs). Optional subject_id (immediate parent relay only). Acknowledge only messages in this recipient's inbox. Retry an ambiguous result with the identical operation_id and body. Maximum 32768 UTF-8 bytes, depth 8; no unknown fields or duplicate keys.
workspaceNoAbsolute path of your working directory, the project this session works in. Pass it whenever you have one. It never widens this session's grant: over HTTP the workspace registered for the connection decides, and over stdio it is checked against the client's own MCP roots unless this session's root is already pinned, when it is ignored. Each tool's description says what it does with a path that grant does not cover.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv26.10.18
    • changedInput schema / properties / workspace / description
      Previous value: -"Absolute path of your working directory, the project this session works in. Pass it whenever you have one: one server can serve several sessions."New value: +"Absolute path of your working directory, the project this session works in. Pass it whenever you have one. It never widens this session's grant: over HTTP the workspace registered for the connection decides, and over stdio it is checked against the client's own MCP roots unless this session's root is already pinned, when it is ignored. Each tool's description says what it does with a path that grant does not cover."
    • addedOutput schema / $defs / ErrorResponse / properties / next_free_at
      Added value: +{
      +  "anyOf": [
      +    {
      +      "minimum": 0,
      +      "type": "number"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Next Free At"
      +}
    • addedOutput schema / $defs / ErrorResponse / properties / resource_key
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maxLength": 4000,
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Resource Key"
      +}
  2. Addedv26.10.16

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the annotations, the description discloses non-obvious effects: acknowledging refreshes recipient liveness on the service clock like a heartbeat, bumps no repository revision, and clears no suspicion, and it grants no resource claim or permission. It also discloses the workspace scoping failure mode ("any other path is scope_denied"), which is behavior an agent could not learn from readOnlyHint/idempotentHint/destructiveHint alone.

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 the core action and its key constraint (no deletion), then the negative-effects section, then workspace scoping. Slightly dense phrasing ("bumping no repository revision and clearing no suspicion") and an appended boilerplate workspace paragraph keep it from a 5, but nothing is wasted.

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

Completeness5/5

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

For a two-parameter, non-destructive acknowledgement tool with full schema coverage, annotations, and an output schema, the description covers purpose, effects, exclusions, and path scoping. Nothing an agent needs in order to invoke it correctly is missing.

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 schema baseline already carries the meaning of `request`. The description still adds value on `workspace` by explaining it is followed only inside an owner-registered checkout grant and that other paths yield scope_denied, a consequence the schema field does not state.

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 and resource: "Record delivery processing for private inbox messages without deleting them." The non-deletion clause distinguishes it from a consume/delete style sibling, but no sibling is named, so an agent must infer which of cooperation_read / cooperation_receive / cooperation_ack to pick.

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?

Usage is implied (acknowledge messages already delivered to this recipient's inbox) and scoped negatively ("does not accept an agreement, artifact or task"), which helps rule out misuse. However, there is no explicit when-to-use vs. alternative-tool guidance, and the retry guidance lives in the schema rather than the description.

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