Skip to main content
Glama

layer_guide

Read-onlyIdempotent

Reads live docs, skills, and rules for a specified framework layer from its repository, and summarizes up to 15 docs matching an optional topic path.

Instructions

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

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "layer": "<layer>"
    },
    "name": "layer_guide"
  }
}

Input 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

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.3.2

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered. The phrase 'read live from that repo' usefully signals that content is fetched dynamically rather than cached and may change between calls. It does not discuss volume, latency, or failure modes when a layer is unavailable.

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 front-loaded sentence with no filler. It is efficient, though slightly underspecified — 'one framework layer' sits awkwardly against the schema's 'all' option.

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 format need not be described, and both parameters are fully documented in the schema. What remains missing is enough routing context to pick this over the many explain_*/read_doc/list_skills siblings for a layer-related question.

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%; the schema itself enumerates the layer values and explains the topic substring with the 15-doc cap. The description adds no meaning beyond that, so the baseline of 3 applies.

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?

Names a specific resource set (docs, skills, rules) scoped to one framework layer and notes they are read live from the repo. An agent can tell this is a layer-scoped knowledge fetch, though it never explicitly distinguishes itself from siblings like read_doc, find_skill, or list_knowledge_topics.

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?

There is no when-to-use guidance, no exclusions, and no named alternative. The description never says whether to prefer this over read_doc or find_skill, or when the 'all' layer value is appropriate, leaving routing entirely to inference from the schema.

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