Skip to main content
Glama
stata-copilot

stata-copilot

by Parado-D

Fetch graph images

stata_graphs

Fetch Stata graphs as viewable images from the last run or explicit file paths, returning PNG/JPEG content and reporting SVG-only outputs by path.

Instructions

Return Stata graphs as images the agent can actually look at. Defaults to the graphs produced by the most recent run; pass explicit file paths to fetch older ones. PNG/JPEG are returned as image content; SVG-only output is reported by path.

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_graphs"
  }
}

Input Schema

NameRequiredDescriptionDefault
maxNoMaximum number of images to attach (1-5, default 2).
filesNoAbsolute paths to .png/.jpg files. Omit to use the last run's graphs.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.1

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the whole behavioral burden. It usefully discloses non-obvious traits: PNG/JPEG come back as image content while 'SVG-only output is reported by path,' and omitting files defaults to the last run. It is silent on failure modes, such as what happens when no graphs exist or a given path is invalid.

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?

Three short sentences, front-loaded with the purpose and followed by the default behavior and the output-format caveat. Every sentence carries information; no filler or restatement of the title.

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 two-parameter, annotation-free tool with no output schema, the description covers the essentials an agent needs: what is returned, how the default works, and the SVG edge case. The remaining gap is error/empty-result behavior, which is minor but not trivial.

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 coverage is 100%, so both parameters (max, files) are already documented in the schema, making 3 the baseline. The description reinforces that omitting files uses the most recent run's graphs and that fetched files are image formats, but adds no syntax or format detail beyond the structured fields.

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?

The description leads with a specific verb and resource: 'Return Stata graphs as images the agent can actually look at,' which tells an agent exactly what comes back (viewable image content, not text). It does not explicitly name how it differs from siblings such as stata_results, so it stops short of full sibling differentiation.

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 clearly states the two usage modes:

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