Skip to main content
Glama

fv_job_cancel

Cancels a running background formal-verification job by killing its entire process tree, then marks the job as CANCELLED while preserving its last reached step.

Instructions

Cancel a background job: kills its whole process tree (sby, yosys-smtbmc, solvers). The job then finishes with status='CANCELLED'; fv_job_status still returns the step it reached.

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": "fv_job_cancel"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations supplied, the description takes on the full behavioral burden and does well: it discloses the destructive scope (entire process tree, naming the killed subprocesses), the resulting terminal status of 'CANCELLED', and that fv_job_status still reports the last reached step. It stops short of stating idempotency or the error returned when the job is already terminal.

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 sentences, front-loaded with the action and its effect, with the process-tree detail placed where it adds most value. No filler and nothing repeated from the schema.

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?

An output schema exists, so return values need no explanation here, and the description covers the essential facts for a destructive single-parameter operation: what dies, the resulting status, and continued status visibility. Only edge-case behavior (already-finished jobs, idempotency) is absent.

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 0% for the single job_id parameter, so the description must compensate; it refers to "the job" and ties it to fv_job_status, which makes the identifier's origin inferable. It does not state the expected format of job_id or where to obtain it, leaving a small gap for a one-parameter tool.

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?

The description opens with a specific verb and resource ("Cancel a background job") and immediately qualifies scope with "kills its whole process tree (sby, yosys-smtbmc, solvers)." It is unmistakably distinct from the sibling fv_job_status, which it names explicitly as the monitoring counterpart.

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?

The usage context is implied by the action itself (cancel a running job), and the mention of fv_job_status clarifies the post-cancel workflow. However, there is no explicit guidance on when to cancel versus let a job run, no prerequisites, and no statement about what happens if the job has already finished.

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