Skip to main content
Glama

get_agent_instructions

Retrieve the full MileStack agent instructions when the .milestack/agent-instructions.md file is missing from the current checkout, so agents can follow the correct workflow.

Instructions

Read-only. Returns the full MileStack agent instructions, identical to the .milestack/agent-instructions.md that milestack init generates for this version. Call it when that file is missing in the current checkout.

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.4

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations supplied, the description carries the load and does state 'Read-only' plus a version-determinism guarantee (identical to what init generates for this version). It does not say what an existing file implies for the result or the exact return format, but for a zero-parameter read tool the disclosure is largely sufficient.

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, safety qualifier first, then what it returns, then when to call it. Every sentence adds information and nothing is redundant.

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 no-param, no-output-schema read tool, the definition covers what is returned and when to use it. The only minor gap is the concrete return shape (e.g., markdown text vs. structured field) and any size caveat.

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?

The tool takes no parameters, so the baseline of 4 applies; there is nothing for the description to disambiguate at the input level.

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?

States a specific verb and resource ('Returns the full MileStack agent instructions') and pins down exactly what the payload is by equating it to the .milestack/agent-instructions.md file generated by milestack init for this version. No sibling tool does anything similar, and the definition makes that distinct role obvious.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit trigger condition: 'Call it when that file is missing in the current checkout.' This also implies the exclusion (when the file is present, read the file instead), so the agent knows the alternative without inference.

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