Skip to main content
Glama

Read cooperation request status

cooperation_request_status
Idempotent

Read one private request's current delivery and declared processing outcome.

Instructions

Read one private request's current delivery and declared processing outcome.

A completed request does not validate work, accept an artifact or grant consent.
Deadline expiry changes metadata only, never stops execution. 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_request_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
requestYesClosed agents-core/cooperation/1 request-status object or raw JSON. Required protocol, repository_id, participant_id, capability, message_id. Optional subject_id (direct parent relay only). Only the sender or recipient can inspect a tracked request. Returns delivery separately from state/revision, deadline and response reference; materializes overdue expiry. 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. 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

A3.7/5.0
Behavior4/5

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

The description explains the otherwise surprising readOnlyHint=false annotation: deadline expiry 'changes metadata only, never stops execution', i.e. the read materializes expiry. It also discloses the semantic scope of 'completed' (no validation, no artifact acceptance, no consent) and the workspace scope_denied failure mode, which annotations alone do not convey.

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?

The purpose is front-loaded and every remaining sentence carries distinct information (completed semantics, deadline semantics, schema pointer, workspace scoping). The mid-paragraph 'Schema: agents-core://cooperation/schema.' line interrupts the flow slightly, and the prose is dense, but nothing is filler.

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?

With an output schema present, return values need not be explained, and the description covers the non-obvious behaviors: the expiry side effect, the limits of 'completed', and workspace grant enforcement. Authorization (sender or recipient only) lives in the schema rather than the description, leaving a minor gap for a privacy-scoped read.

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 coverage is 100% and the request object already documents required protocol fields, optional subject_id, the 32768-byte limit and authorization (sender or recipient), so the schema carries most of the burden. The description adds the concrete consequence for workspace ('followed only inside an owner-registered checkout grant... any other path is scope_denied'), but does not add meaning for the request object itself beyond what the schema states.

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 first line gives a specific verb and resource ('Read one private request's current delivery and declared processing outcome'), so an agent knows exactly what this returns. It does not name the sibling cooperation_request_update or explicitly say what it is not, so differentiation from a mutate-status tool is left implicit.

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 by the read-status framing and clarified by the caveats about what a completed request and an expired deadline mean. However, there is no explicit statement of when to prefer this over cooperation_request_update, cooperation_read, or cooperation_wait, and no when-not guidance.

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