Skip to main content
Glama

Octobooks

Record the result of a job

job_done

Records the result of one job of the queue (its id from the round's steps or the open list's jobs, like bank_line:123). outcome done, not_done or handed_over (to the person: note says what they are asked); action attach, no_receipt, explain, answer, book, match, source, read, ask or other; evidence {document_id (of an uploaded document; a receipt job counts as done only with it), bank_line_ids, pending_action_id, open_item_id, url, way (how a supplier's invoices arrive)}; for a source job (action source): evidence {method email|portal|email_and_portal|paper|none_needed, vendor, sender, domains, portal_url, help_url, push, push_where, rhythm, click_path} keeps a claim of how the payee's invoices arrive (ids, emails and typed words are taken out of the click path), and evidence {access: forward_rule|vendor_push|mailbox} records that the access step is done; confidence 0 to 1. The hold on the job ends. Idempotent: the same job again in the same round returns the earlier result. Where a person acted on the job, this is refused as stale and nothing is kept. Records the outcome only; books nothing. note is stored as data.

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": {
      "job": "<job>"
    },
    "name": "job_done"
  }
}

Input Schema

NameRequiredDescriptionDefault
jobYes
noteNo
actionNoother
companyNo
outcomeNodone
evidenceNo
round_idNo
confidenceNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior2/5

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

The description is rich on effects beyond the schema — the hold on the job ends, staleness causes a refusal with nothing kept, ids/emails/typed words are stripped from the recorded click path, and the note is stored only as data. However, it asserts 'Idempotent: the same job again in the same round returns the earlier result' while the annotations declare idempotentHint=false, leaving the agent with two conflicting models of repeat-call behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Almost every clause carries information, and the key scope statement is front-loaded, but the body is a single dense paragraph of nested parentheses that is hard to scan when the agent needs one specific field. Splitting the outcome, action and evidence rules into distinct lines would cost nothing and gain a lot.

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?

For a mutation tool with an output schema (so return values need no explanation) and undocumented parameters, this covers the risky parts: what ends, what is refused, what is redacted, what is not booked. The remaining omission is the meaning of the company and round_id parameters, plus any hint about which action values pair with which outcome values.

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

Parameters4/5

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

With 0% schema description coverage across 8 parameters, the description carries the whole burden and mostly succeeds: it gives the job id format ('bank_line:123'), enumerates the outcome, action and source-evidence values that the schema leaves as bare strings, and fixes confidence to the 0–1 range. It leaves 'company' and 'round_id' entirely unexplained, which is the only real gap.

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 opening clause states a specific verb and resource — 'Records the result of one job of the queue' — and the closing line 'Records the outcome only; books nothing' draws a usable boundary against the booking/action siblings. It stops short of naming an alternative tool explicitly, so the agent must infer the job_take / round_record split from context rather than reading it here.

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 concrete conditions rather than generalities: reuse of the same job in the same round returns the earlier result, a job a person already acted on is refused as stale and nothing is kept, and a source job is handled through the dedicated evidence shape. What is missing is a plain statement of when to call this instead of job_take or answer/explain, which the agent has to work out from the outcome list.

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