Skip to main content
Glama
freecad-mcp

freecad-mcp

get_async_status

Check background FreeCAD code jobs started by execute_code_async by job ID, or list running and recently completed jobs without blocking the GUI thread.

Instructions

Report the state of background jobs started by execute_code_async.

Does not use the FreeCAD GUI thread, so it answers even while a job runs.

Args: job_id: The id returned by execute_code_async. Empty lists all running jobs and up to 20 recently completed jobs.

Returns: For one job: its state (running/done/failed), the error and traceback when it failed. History is held in memory until FreeCAD exits.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_async_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.32

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does well: it discloses that the call bypasses the GUI thread and therefore answers while a job runs, that history is in-memory and discarded when FreeCAD exits, and that only up to 20 completed jobs are retained. The main omission is that it never explicitly states this is a non-mutating read.

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?

Front-loaded purpose sentence followed by a useful behavioral note, then conventional Args/Returns blocks. Slight duplication between the opening sentence and the Returns section ('its state') but nothing extraneous.

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?

No output schema exists, and the Returns section covers the essentials for a one-job poll (state plus error and traceback on failure). Combined with the retention note and single optional parameter, an agent has enough to call and interpret it; only the shape of the multi-job listing is left unspecified.

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?

Schema coverage is 0%, so the description must compensate, and it does: job_id is defined as the id returned by execute_code_async, and the empty/default case is spelled out as listing all running jobs plus up to 20 recently completed ones. What remains unstated is whether omitting the field differs from passing an empty string.

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?

States a specific verb and resource ('Report the state of background jobs') and scopes the resource by its producer ('started by execute_code_async'), which lets an agent tell it apart from execute_code. It does not, however, distinguish itself from other status siblings such as get_task_status or get_rpc_status.

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 linkage to execute_code_async implies the polling workflow, and the job_id argument notes it is the id returned by that tool. There is no explicit statement of when to call this versus get_task_status/get_rpc_status, and no guidance on polling cadence or what to do when a job is still running.

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