Skip to main content
Glama

Read Reference Passages & Highlights

get_reference_passages
Read-onlyIdempotent

Search parsed text passages and saved claim evidence highlights inside a project supporting reference file.

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": {
      "project_id": "<project_id>",
      "project_file_id": "<project_file_id>"
    },
    "name": "get_reference_passages"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoFilter to one page number.
limitNoMax passages returned (default 25).
searchNoOptional keyword search within reference text.
claim_idNoOptional claim_id to filter saved highlights.
project_idYes
project_file_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

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, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds that the underlying data is parsed text plus saved highlights within one reference file, but says nothing about result ordering, whether highlight mode requires claim_id, or how paired filters combine.

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 or repetition. It is efficient, though its terseness leaves the two-mode behavior compressed into one phrase rather than separated.

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?

For a 6-parameter read tool with no output schema, the definition covers the resource and scope but omits return shape, default behavior when neither filter is supplied, and the interaction between search and claim_id. Adequate but with clear gaps an agent must discover by calling.

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 67%, so the schema already documents page, limit, search and claim_id. The description contributes the useful framing that claim_id targets 'saved highlights' while search targets 'reference text', which is meaning beyond the schema, but it does not clarify how the two modes interact when combined.

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?

States a specific verb (search) plus two concrete resources (parsed text passages and saved claim evidence highlights) scoped to a project reference file. An agent can tell roughly what it returns, though the dual 'passages OR highlights' mode is left ambiguous and no sibling is named for contrast.

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?

The description gives no when-to-use, when-not-to-use, or alternative routing, even though siblings like search_evidence_library and discover_claim_references_online plausibly overlap. Only the implicit scope ('inside a project supporting reference file') hints at when it applies.

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