Skip to main content
Glama

Agent Recovery Plan

start_job

Open a job and return its hosted invoice in USD. Supply an existing reference to retry the same invoice. After payment, call submit_plan.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "start_job"
  }
}

Input Schema

NameRequiredDescriptionDefault
refNoExisting recovery reference when retrying.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / properties / asset
      Removed value: -{
      -  "default": "usdt",
      -  "description": "Tip asset, for example usdt, btc or eth.",
      -  "type": "string"
      -}
    • addedInput schema / properties / ref
      Added value: +{
      +  "description": "Existing recovery reference when retrying.",
      +  "type": "string"
      +}
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations only declare openWorldHint=false and readOnlyHint=false, so the description must carry most of the burden. It adds real value by disclosing the return artifact (a hosted invoice in USD) and the idempotent retry semantics via ref, but says nothing about cost, whether a prior job is reused or replaced, or how payment actually occurs despite 'After payment' implying a required out-of-band step.

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?

Three short sentences, front-loaded with the action and return value, then the retry rule, then the next step. There is no filler, though 'After payment' is left slightly under-explained for such a compressed space.

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?

With no output schema and a mutation-flagged operation, the description tells the agent what comes back (an invoice) and what to do next, which covers the essentials. It still leaves open what the invoice contains, whether the job requires waiting on job_status, and how payment is fulfilled, so an agent may need another round of discovery.

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 100% for the single parameter and its definition already says 'Existing recovery reference when retrying.' The description restates the same retry meaning rather than adding format, source, or format details, so the schema is doing the heavy lifting — a baseline 3.

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 ('Open a job') and states the concrete return artifact ('its hosted invoice in USD'), which is more than a restatement of the name. It also points to the follow-on tool ('submit_plan'), giving an agent a way to place this tool in a workflow, though it doesn't contrast itself with job_status or recovery_plan.

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 two concrete conditional rules: pass an existing reference to retry the same invoice, and call submit_plan after payment. That establishes ordering in the job lifecycle without giving a when-not-to-use case or prerequisites such as whether an existing job blocks a new one.

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.