Skip to main content
Glama

Outil.io

Set collection state

set_collection_state

queue confie une collecte à MonAssocié (agent connecté requis) ; cancel révoque la prise en charge et conserve les résultats. Relire la version avant appel.

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": {
      "id": "<id>",
      "version": "<version>",
      "action": "<action>"
    },
    "name": "set_collection_state"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
actionYes
versionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already mark this as a non-read-only, non-destructive, closed-world mutation. The description genuinely adds context beyond them: cancel preserves existing results, queue requires a connected agent, and the 'relire la version' note signals optimistic-concurrency behavior. It still says nothing about failure modes (e.g., version mismatch) or what the call returns after a state change.

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?

Very compact and front-loaded: the action semantics come first, the version caution last, with no filler. The terseness borders on cryptic ('confie une collecte'), and switching languages mid-tool reduces scannability, but nothing is wasted.

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?

For a 3-parameter mutation tool with no output schema and zero schema documentation, the description covers the core actions, a prerequisite, and a concurrency warning. It is still missing what happens on version conflict, what 'results preserved' means operationally, and what the caller receives, so it is adequate rather than complete.

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 0%, so the description must carry the burden. It does explain the meaning of both 'action' values and gives the 'version' parameter concurrency semantics ('relire la version avant appel'), but 'id' is never described and the semantics of a version mismatch remain unstated.

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 description names both operations concretely: 'queue' assigns a collection to MonAssocié and 'cancel' revokes that assignment. It never plainly restates that the tool mutates a collection's state, and it is written in French while the name/title are English, which slows matching slightly, but an agent can still tell what the tool does from the action semantics.

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?

It effectively explains the choice between the two enum values (queue vs cancel) and adds a prerequisite ('agent connecté requis'), which is real usage guidance. However, it gives no guidance relative to the many relevant siblings (claim_collection, delegate_task_to_monassocie, report_collection, update_collection, delete_collection) and no explicit when-not to call.

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.