Skip to main content
Glama

stata_get_help

Retrieve official Stata help text for any command or topic. Avoid guessing syntax by accessing plain-text documentation directly.

Instructions

查 Stata 官方帮助(纯文本,从 .sthlp 读)——agent 不必瞎猜命令语法。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
topicYes要查询的 Stata 命令/主题(如 regress、xtreg、ereturn)。
session_idNo会话标识;省略用 'default'。

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior3/5

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

There are no annotations, so the description carries the full burden. It discloses the source (.sthlp) and output format (plain text), which is useful. However, it does not describe failure behavior, session dependencies, or whether any state is changed. For a read-only help lookup this is a mild gap, not a contradiction.

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 entire description is a single, front-loaded sentence with no filler. It conveys the core function, the output format, and the practical rationale in just a few words.

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 simple two-parameter tool with no output schema, the description plus fully documented schema provide enough for an agent to call it correctly. It lacks edge-case information like unknown topics or session requirements, but overall it is adequately complete for the tool's simplicity.

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 the schema already documents both 'topic' and 'session_id' adequately. The description adds no parameter-specific detail beyond the schema, so the baseline score of 3 is appropriate.

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 clearly states a specific verb ('查' / query) and resource ('Stata 官方帮助'), and adds the output format ('纯文本,从 .sthlp 读'). It does not explicitly name or contrast with sibling tools, 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?

The phrase 'agent 不必瞎猜命令语法' gives a clear context for when to use this tool: before running a Stata command when syntax is uncertain. It does not explicitly state when not to use it or name alternative tools, but the usage context is clear.

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

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/horizonial/stata-mcp'

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