Skip to main content
Glama

Louer un humain

Retenir une offre

accept_offer

Retient l’offre d’un prestataire (dans les plafonds de la clé) et renvoie le lien de paiement sous séquestre à faire régler par l’humain responsable. Le prestataire est réservé dès le paiement.

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": {
      "mission_id": "<mission_id>",
      "offre_id": "<offre_id>"
    },
    "name": "accept_offer"
  }
}

Input Schema

NameRequiredDescriptionDefault
offre_idYes
mission_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Beyond the annotations, the description discloses meaningful behavior: commitment happens within the API key's spending caps, an escrow payment link is returned rather than money moved, and the provider is only actually reserved once payment occurs. That last nuance is important for an agent to understand the operation is not immediately final. It still omits failure modes and whether retrying is safe.

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?

Two dense sentences, front-loaded with the action and its financial consequence; no filler. The parenthetical about key caps is slightly compressed but earns its place.

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 an open-world, financially committing tool with no annotations covering semantics and no output schema, the description covers the effect and the return value well but leaves gaps: what happens if the offer is expired or already accepted, what 'plafonds de la clé' means operationally, and whether the returned link expires.

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?

Schema description coverage is 0% for two required parameters (mission_id, offre_id). The description only vaguely gestures at 'l'offre d'un prestataire' and says nothing about mission_id, ID formats, or how the two relate. With low coverage the description was expected to compensate and does not.

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 a specific verb (retient / locks in) and resource (l'offre d'un prestataire), and even states the outcome: an escrow payment link for the human to settle. It is clearly not a read/list operation like list_offers, but it never explicitly differentiates itself from any sibling by name.

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 only implied: the tool is the committing step after an offer has been selected, and the description notes the human must then pay. There is no explicit when-to-use, when-not-to-use, or prerequisite (e.g., offer must still be open, mission must exist) stated.

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.

Resources