Skip to main content
Glama

lookup

Read-onlyIdempotent

Retrieve full details for one or more MOGA references—such as rules, feedback, commits, assets, compositions, templates, phrases, references, media, or skills—to inspect what each ref contains.

Instructions

Open what a ref names, in full: a lint or taste rule (its doc, bound and cases), the taste, a piece of feedback (its note, thread and attempts), an earlier change (who, why, the feedback it answered, what it was based on and each field before and after), an asset, a composition's outline, a template, a phrase, a reference or media file, a skill. search finds refs in brief; open only the few that matter. Several refs at once: ref takes a list. Name the ones a change follows in basis on that change.

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": "lookup"
  }
}

Input Schema

NameRequiredDescriptionDefault
refYesrule:layout/collision, rule:taste/<id>, rule:project/<id>, taste, feedback:<id>, commit:<id>, asset:<name>, composition:<name>, template:<name>, phrase:<id>, reference:<path>, media:<path>, skill:<name>

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already establish read-only, idempotent, non-destructive, closed-world behavior. The description adds meaningful context about what detail each entity type yields (a rule's doc/bound/cases, a commit's who/why/before-after fields, a feedback's note/thread/attempts). It does not discuss size, truncation, or failure behavior for unknown refs.

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

Conciseness3/5

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

The verb and resource are front-loaded, but the middle is one long run-on enumeration, and the closing sentence ('Name the ones a change follows in basis on that change') is cryptic and hard to parse. Nothing is strictly wasted, but readability suffers.

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 single-parameter read tool with full schema coverage and complete annotations, the description covers what is returned for each ref type and how it relates to `search`. Little is missing for an agent to invoke it correctly.

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 schema already documents the ref grammar in detail. The description adds two useful bits beyond it: that `ref` accepts several refs at once, and that a change's `basis` should name the refs it follows. Baseline 3 applies since the schema carries most of the burden.

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?

The description states a specific verb and resource ('Open what a ref names, in full') and enumerates the entity types it resolves, so an agent knows what comes back. It also distinguishes itself from `search` ('search finds refs in brief; open only the few that matter'). The only weakness is the oblique framing of 'open' as a metaphor for resolution.

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?

Explicitly contrasts with the `search` sibling: search returns brief refs, then this tool opens the few that matter. It also states that multiple refs can be passed via a list. No explicit exclusions beyond that, but the usage context is clear.

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

Deploy Server

Other Tools