Skip to main content
Glama
taewat07

STATA-MCP Repro

by taewat07

run_prepare

Create an immutable, descriptively named Stata run without executing it, enabling reproducible project tracking.

Instructions

Create an immutable, descriptively named run without executing it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
intentYes
plan_idNo
run_nameYes
plan_scopeNo
actor_clientNomcp-client
project_pathNo
parent_run_idNo
dofile_contentYes
managed_analysisNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYes
runNo
dataNo
errorNo
warningsNo
Behavior3/5

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

With no annotations, the description carries the burden. It discloses two notable behaviors: the run is immutable and not executed. Yet it omits other aspects like side effects, permissions, prerequisites, or return values, which are important for a create operation.

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?

The description is a single, well-formed sentence. It is front-loaded with the action and contains zero redundant words.

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 tool with 9 parameters, a nested AnalysisScope object, and no annotations, this description is minimal. It does not explain how a run relates to plans, dofiles, or the overall workflow, and while an output schema exists, it does not substitute for behavioral context.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and the description does not explain the parameters. The only hint is 'descriptively named', which relates to run_name, but the core required parameters (dofile_content, intent) are left entirely unexplained.

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 clearly states the tool's function: creating a run without executing it. The verb 'Create' and resource 'run' are specific, and the qualifier 'without executing it' distinguishes it from sibling run_execute.

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?

The phrase 'without executing it' provides clear context that this tool is for preparation rather than execution, implying when to use it. However, it does not explicitly name alternatives or state when not to use it, so it stops short of a 5.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/taewat07/STATA-MCP-AGENT'

If you have feedback or need assistance with the MCP directory API, please join our Discord server