Skip to main content
Glama

layer_guide

Retrieve live docs, skills, and rules for a specific framework layer from the repository to aid compiler development.

Instructions

Docs, skills, and rules for one framework layer, read live from that repo.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
layerYesFramework layer: "pypto", "ptoas", "pto-isa", "simpler", "pypto-lib", or "all".
topicNoOptional path substring to summarize up to 15 docs, e.g. "scheduler" or "models".

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.3.2

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. 'read live from that repo' implies a read-only, live fetch (some value), but nothing is said about auth requirements, rate limits, or what happens on an invalid layer. The 'up to 15 docs' limit lives in the schema, not the description.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single tight sentence with the scope (one framework layer) front-loaded and no wasted words. It is efficient, though perhaps too terse to earn a 5.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values needn't be explained. For a 2-parameter read tool the description is minimally adequate, but it omits usage routing against sibling doc/skill tools, leaving the definition thin.

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 both parameters are already documented in the schema. The description adds no syntax or format detail beyond what the schema provides, so the baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description conveys that it returns docs, skills, and rules for a single framework layer, read live. However, it is a noun phrase without a clear action verb and does not distinguish itself from siblings like read_doc, list_skills, or find_skill.

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

Usage Guidelines2/5

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

No when-to-use guidance is given. The description does not name alternatives (e.g. read_doc, list_skills) or explain the conditions under which an agent should pick this tool over them, leaving usage entirely to inference.

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