Skip to main content
Glama

Outil.io

Claim task

claim_task

Prendre en charge une tâche manuelle ou d’agent externe pendant 15 minutes. Retourne la tâche, ses instructions et claimToken. Lire aussi get_record agents pour sa mission. Exécuter uniquement les actions demandées puis transmettre le résultat à complete_task. Une tâche déjà prise par un autre agent est refusée.

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>"
    },
    "name": "claim_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior5/5

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

The annotations only declare the non-read-only, non-destructive, closed-world profile; the description adds genuinely new behavioral facts: a 15-minute lease duration, mutual exclusion (refused if already claimed), the returned claimToken, and the required follow-up tool. Those are exactly the operational traits an agent needs and cannot get from the structured fields.

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?

Four short sentences, front-loaded with the core action and lease, each carrying distinct information (return payload, mission lookup, execution discipline, refusal rule) with no filler. The only friction is that the whole description is in French while the tool surface is otherwise English, which adds parsing cost for no benefit.

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 state-mutating lease tool with no output schema, the description usefully explains what is returned (task, instructions, claimToken) and the full lifecycle through complete_task. However it leaves the single parameter undocumented and gives no guidance on lease expiry or re-claim behavior, which matters for a 15-minute lock an agent might exceed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

There is one parameter, 'id', with 0% schema description coverage, so the description carries the full burden and does not meet it: it never says whether the id is a task id, a record id, or an agent id, nor what valid values look like. The mention of 'get_record agents' actually muddies the picture by introducing a second identifier concept.

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 uses a specific verb and resource ('Prendre en charge une tâche manuelle ou d’agent externe') and adds concrete scope: a 15-minute lease, a returned claimToken, and an exclusivity rule. It implicitly separates this from claim_browser_tasks/claim_collection by limiting scope to manual or external-agent tasks, but it never names those siblings explicitly, so an agent cannot be fully certain which claim_* variant to pick without opening schemas.

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?

It gives a clear sequence: claim, read the agent's mission via get_record, perform only the requested actions, then hand the result to complete_task. It also states a failure condition ('Une tâche déjà prise par un autre agent est refusée'). What is missing is an explicit 'use this instead of X' comparison with claim_browser_tasks, run_task, or claim_collection.

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.