Skip to main content
Glama

look

Retrieves a read-only witness card for a symbol or file name from a prior index, listing definition, callers, impact size, related tests, and verify plan without executing tests.

Instructions

Witness card for a symbol or file name: definition, callers, impact size, related tests, verify plan. Read-only. Requires a prior index. Does not execute tests.

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": {
      "target": "<target>"
    },
    "name": "look"
  }
}

Input Schema

NameRequiredDescriptionDefault
targetYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose the safety profile explicitly: read-only, no test execution, and a prerequisite of an existing index. It omits what happens when the target is not indexed or not found, which is the main remaining behavioral gap.

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?

One content sentence plus three terse qualifiers, with the payload contents front-loaded and no filler. The only weakness is the undefined jargon term 'witness card', which costs a little immediate comprehension.

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?

An output schema exists, so not explaining return structure is fine, and the description instead usefully summarizes what the card contains. For a one-parameter read-only lookup it covers purpose, precondition, and side effects; only error/no-index behavior is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% and the single 'target' parameter is otherwise undocumented, but the phrase 'for a symbol or file name' tells the agent exactly what values are acceptable. That is meaningful semantics added beyond the bare string schema, though format examples or ambiguity rules are absent.

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 names the resource precisely: a 'witness card' for a symbol or file name, and enumerates its contents (definition, callers, impact size, related tests, verify plan), so an agent knows what it gets back. It does not name the sibling 'impact' even though 'impact size' overlaps that tool, so differentiation from all siblings is incomplete.

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

Usage Guidelines3/5

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

'Requires a prior index' and 'Does not execute tests' give real preconditions and one exclusion, implying the agent should use 'verify' for execution and 'index' first. However, there is no explicit statement of when to pick this over 'impact', leaving the main routing decision to inference.

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