Skip to main content
Glama
stata-copilot

stata-copilot

by Parado-D

List background jobs

stata_job_list

List background Stata jobs recorded in a working directory, newest first, with state and duration. Use it after a restart to find a job whose ID you no longer have.

Instructions

List the background Stata jobs recorded under the given working directory, newest first, with their state and duration. Use it after a restart to find a job whose id you no longer have.

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

Input Schema

NameRequiredDescriptionDefault
cwdNoDirectory to list jobs from (default: ".").
limitNoMaximum jobs to return (default 20).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.1

TDQS

A4/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. "List" implies a non-mutating read, and it discloses ordering and returned fields, but it says nothing about whether results come from live process state or persisted records (e.g., stale or dead jobs), nor about paging beyond the schema's limit.

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, zero filler, with the core behavior front-loaded and the usage hint following. Nothing could be cut without losing information.

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?

With no output schema, the description usefully names the returned fields (state and duration), which the schema cannot convey. For a 2-parameter read tool this is close to complete; only the default limit and source-of-truth behavior are left implicit.

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 100%, so both parameters are already documented, and the description's restatement of the working directory adds little. The one piece of extra meaning is the newest-first ordering, which is not expressible in the schema, but that is a small addition over an already complete schema.

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 gives a specific verb and resource ("List the background Stata jobs") plus scope ("under the given working directory"), ordering ("newest first"), and returned fields ("state and duration"). That level of detail separates it from siblings like stata_job_status (single job), stata_job_log and stata_job_kill without the agent needing to open another schema.

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?

It gives an explicit triggering situation: "Use it after a restart to find a job whose id you no longer have," which tells the agent exactly when this beats jumping straight to a status call. It stops short of naming an alternative or stating when not to use it, so it falls short of the top band.

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