Skip to main content
Glama

job_close

Closes an unpaid job with a required reason, preventing further deliveries, judging, verdicts, payments, or gate runs.

Instructions

Close a job that is not paid, with a reason; a closed job takes no delivery, judging, verdict, payment or gate run.

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

Input Schema

NameRequiredDescriptionDefault
jobYesJob id, as job_post returned it.
reasonYesWhy the job is closed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden, and it does deliver the key effect: a closed job accepts no delivery, judging, verdict, payment or gate run. That is genuinely useful and beyond the schema. However, it omits reversibility, required permissions/ownership, what error a paid job returns, and whether the reason is recorded.

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?

A single dense sentence that front-loads the action and precondition, then the consequence. No filler, and every clause carries information. Minor readability cost from packing two distinct ideas with a semicolon.

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 two-parameter mutation with no output schema, the description covers what the tool does and the downstream effects, which is what an agent most needs. It is not fully complete — irreversibility and authorization are unaddressed — but the definition is adequate for correct invocation.

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 coverage is 100%, so both parameters ('job' id format and 'reason') are already documented in the schema. The description reinforces that a reason is mandatory and ties the job parameter to a precondition, but adds no format, length, or validation detail. Baseline 3 applies.

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?

Names a specific verb+resource (close a job) and attaches a precondition ('that is not paid') plus a rationale, which lets an agent distinguish it from lifecycle siblings like job_pay or job_merge. It stops short of explicitly naming an alternative tool for the already-paid case.

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 implied rather than stated: the phrase 'a job that is not paid' tells the agent the qualifying condition, and the consequence clause hints at why you would call it (to stop further work). No explicit when-not, no named alternative for paid jobs, and no prerequisites.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.