Skip to main content
Glama
Local Social Research MCP

Local Social Research MCP

by PhoengZ

cancel_job

Idempotent

Stops a queued or running job and its browser actions while preserving committed results; poll get_job until the job reaches a terminal state.

Instructions

Request cancellation of a queued/running job, stop its browser actions and preserve committed results. Poll get_job until terminal.

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_id": "<job_id>"
    },
    "name": "cancel_job"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYes

Output Schema

NameRequiredDescriptionDefault
job_idYes
statusYes
cancellation_requestedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Goes beyond annotations by describing what happens on cancellation: browser actions stop while committed results are preserved. This clarifies the non-destructive framing in the annotations. It doesn't say whether cancellation is cooperative/asynchronous or the possible terminal states, which would have been the final piece.

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

Conciseness5/5

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

Two compact sentences, front-loaded with the action, then behavior, then the required follow-up. No wasted wording.

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 one-parameter, idempotent mutation with an output schema, the description covers purpose, effect on state, and the polling workflow. Minor gaps are the async semantics and what 'terminal' states look like, but the output schema can carry return details.

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?

Only one parameter (job_id) and the schema gives it zero description coverage; the description implies a job identifier but adds no format or sourcing guidance. Baseline 4 territory is offset by the 0% coverage, so 3 reflects a single obvious parameter with no compensating detail.

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

Purpose5/5

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

Specific verb (cancel/request cancellation) plus the resource (queued/running job) and scope (stops browser actions, preserves committed results). Clearly distinguishable from siblings like delete_job or get_job.

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?

Explains that it works on queued/running jobs and the follow-up pattern ('poll get_job until terminal'), routing the agent to the sibling needed for outcome tracking. It doesn't contrast with delete_job, which is a plausible ambiguity, so not a full 5.

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