Skip to main content
Glama

Close a job

close_job
Destructive

Close one of your jobs with a signed payload {"type": "humancollab.job.close", "timestamp": "...", "job_id": "..."}.

Input Schema

NameRequiredDescriptionDefault
payloadYesSigned payload object
signatureYesEd25519 signature over the canonical payload, base64
public_keyYesEd25519 public key, raw 32 bytes, base64

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.6/5.0
Behavior3/5

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

While annotations already establish this is a destructive operation, the description specifies the required structure of the 'payload' (type, job_id). This adds valuable, concrete behavioral constraint beyond what the high-level annotations provide.

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

Conciseness2/5

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

The definition is technically dense and unhelpful for decision-making. It prioritizes describing the technical implementation (the required payload structure) over presenting a user-friendly, front-loaded usage summary.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive tool requiring complex signing procedures (Ed25519, canonical payload), the definition is lacking in essential context. It does not provide usage prerequisites or conditions under which this tool is the appropriate choice.

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 100% schema coverage, the baseline is 3. The description improves this by providing examples of the required content within the complex 'payload' object, helping the agent understand the required keys (type, timestamp, job_id).

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The purpose is clearly stated ('Close a job'), but it relies heavily on the technical requirement of a signed payload to define the action. It does not distinguish its function through practical operational context.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides zero usage guidance. It does not specify when a job should be closed (e.g., completed, failed) and offers no comparison or rationale for choosing this tool over alternatives like list_jobs or post_job.

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