Skip to main content
Glama

Search run sources

search_sources
Read-onlyIdempotent

Search and filter a run's graded sources by quality, relevance, domain, or keyword. Free.

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": {
      "run_id": "<run_id>"
    },
    "name": "search_sources"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryNo
cursorNo
domainNo
run_idYes
min_qualityNo
min_relevanceNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world behavior, so the safety profile is covered. The description adds that calls are "Free" (no cost incurred) and that results are restricted to already-graded sources, which is genuinely beyond the annotations. It says nothing about pagination or result ordering despite cursor/limit parameters.

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, plus a terse "Free." pricing note that earns its place. It is arguably too terse for a 7-parameter tool, but there is no wasted wording.

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

Completeness2/5

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

For a search tool with 7 parameters, one required, no schema descriptions, and cursor-based pagination, the description omits how filters combine (AND vs OR), what the defaults mean, and how paging works. The output schema covers return values, but the filtering and pagination contract an agent needs to call this correctly is missing.

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 description coverage is 0%, so the description carries the burden for 7 parameters. It maps "quality, relevance, domain, keyword" to min_quality, min_relevance, domain, and query, which is real value, but leaves limit, cursor, and run_id unexplained and never clarifies that quality/relevance are lower-bound thresholds with different scales (0-100 vs 0-1).

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 pair ("search and filter") plus a precise resource ("a run's graded sources"), and enumerates the filter dimensions. An agent can tell this apart from list_research or get_research, though the description doesn't explicitly name those alternatives.

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?

Usage is only implied: it is the tool to reach for when you need a filtered subset of an existing run's sources. "Free" is a useful cost signal against paid siblings like ask_research or estimate_cost, but there is no explicit when-not guidance or named alternative.

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