Skip to main content
Glama

tier_index

Retrieve a document's summary, global rules, and section index so agents can preview structure and token costs before fetching only relevant sections.

Instructions

Get a doc's summary, global rules, and section index (id, token cost, rule count, abstract). Read this BEFORE fetching sections; then fetch only what you need with tier_get.

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": {
      "path": "<path>"
    },
    "name": "tier_index"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesdoc path relative to root

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.1

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does well: it discloses the returned components (summary, global rules, section index with per-section token cost), which functions as an output contract given no output schema, and the wording implies a side-effect-free read. It does not state error behavior for a missing path, nor whether the index is truncated for very large docs, so it stops short of 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 sentences, zero waste, with the payoff (what you get) front-loaded and the workflow instruction second. Every clause earns its place, including the parenthetical field list.

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

Completeness5/5

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

The tool is simple (one path parameter), and the description compensates for the missing output schema by enumerating the returned index fields and giving the correct call sequence with tier_get. An agent has everything needed to invoke it and act on the result.

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?

There is a single required parameter and schema description coverage is 100%, so the schema already defines "path" as relative to root. The description confirms it retrieves a "doc" but adds no syntax, normalization, or error semantics beyond the schema, so the baseline of 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?

Uses a specific verb (Get) plus the exact payload returned: summary, global rules, and a section index with named fields (id, token cost, rule count, abstract). It also names the sibling it is not (tier_get) for fetching full sections, so an agent can distinguish the two immediately.

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?

"Read this BEFORE fetching sections; then fetch only what you need with tier_get" gives an explicit ordering constraint and names the alternative tool plus the condition that selects it. Nothing about sequencing is left to inference.

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