Skip to main content
Glama

get_stanza

Retrieve a reusable guidance stanza by its ID to access standing instructions. Optionally scope the lookup to a project's imports when resolving protocol-specific content.

Instructions

Return one stanza by id (path relative to stanzas/, no .md). Optional project looks through that map's imports.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectNo
stanza_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.12.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden. It usefully discloses the ID format ('path relative to stanzas/, no .md') and the optional project's import-traversal behavior. It does not cover not-found or error behavior, but the output schema likely covers return structure.

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 with no filler. The core action and identifier format are front-loaded, and the optional parameter behavior is succinctly described.

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 getter with two parameters and an output schema, the description covers the essentials: what is returned, how to reference it, and when the optional parameter matters. Some minor ambiguity around 'that map's imports' remains, and it does not address error cases, but overall it is sufficient for correct invocation.

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?

Schema description coverage is 0%, so the description must compensate. It does: stanza_id is explained as a path relative to stanzas/ without the .md extension, and project is explained as an optional lookup through that map's imports. Both parameters receive meaningful semantic context beyond the bare 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 clearly states a specific action ('Return one stanza by id') and resource ('stanza'), with a precise identifier convention. This distinguishes it from sibling tools like list_stanzas, create_stanza, and delete_stanza.

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 description makes it clear that this tool is for fetching a single stanza by ID, which is distinct from listing or mutating stanzas. It also explains the optional project parameter's behavior, but it does not explicitly name alternatives or state when not to use this tool.

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