Skip to main content
Glama

Read Example

read_example
Read-only

For the in-chat player, not for agents: the complete document of a bundled example, by its exact ref. Agents use describe_example, and load_invention to play one.

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": {
      "ref": "<ref>"
    },
    "name": "read_example"
  }
}

Input Schema

NameRequiredDescriptionDefault
refYesExact ref from list_examples.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered; the description adds genuinely new context by disclosing the intended consumer (the in-chat player rather than an agent) and that the return value is the complete document rather than a summary. It stops short of describing document size, pagination, or what happens on a stale or unresolvable ref, which keeps it below a 5.

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 short sentences, with the audience restriction and the resource definition front-loaded before the sibling routing. No filler or restatement of the title.

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?

There is no output schema, but the description still conveys what comes back, namely the complete document of the example, which is the key fact an agent needs. It is nearly complete for a single-parameter read tool; only edge-case behavior on invalid refs is unstated.

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 coverage is 100% and the ref parameter already documents that it is an exact ref from list_examples, with a full ContentRef definition for package or workspace coordinates. The description reinforces the 'exact ref' requirement but adds no format detail beyond the schema, so the baseline 3 applies.

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 states a specific verb and resource: it returns the complete document of a bundled example, selected by its exact ref. It also draws a hard boundary against the sibling tools describe_example and load_invention, so an agent can identify the resource without opening the schema.

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?

It gives an explicit exclusion ('not for agents', intended for the in-chat player) and names two concrete alternatives with their distinct purposes: describe_example for agent inspection and load_invention to play one. Both the when-not and the routing alternatives are stated outright.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources