Skip to main content
Glama

Search the news

search
Idempotent

The stories of the last days whose pieces name the query, one row a story, in our words with its lead piece's outlet and link, our story page, how many pieces it was found in, its outlets and days, its score and its place on today's list: today's list first, then by score, then the newest. Costs one credit (the balance comes back); the same search the same day is paid once. A row's item_id asks why, and with its title goes into a draft's examples for save_interest.

Input Schema

NameRequiredDescriptionDefault
daysNoThe last days searched.
limitNoStories given.
queryYesNames, OR between them (at most 5): whole words, `*` any letters after three of the name's own.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

The annotations already declare idempotentHint=true, destructiveHint=false and, notably, readOnlyHint=false; the description earns credit for explaining that flag by disclosing the cost model: one credit per search, balance returned, and the same search on the same day is paid only once. That is real context annotations cannot carry. It says nothing about rate limits, failure modes, or what happens when the query exceeds the five-name OR limit, which keeps it below the top of the scale.

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 purpose is front-loaded, but the first sentence is a long run-on enumerating every output column, much of which duplicates the output schema rather than earning its place. The credit/caching sentence is the highest-value line and would benefit from being surfaced earlier and separately from the row-format inventory.

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?

With an output schema present, the description need not spell out return values, and it covers the non-obvious parts: cost and same-day deduplication, sort order (today's list, then score, then newest), and the handoff to `why` and `save_interest`. Remaining gaps are minor, such as empty-result behavior or errors from an over-long OR query.

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 100%, so the schema already documents `days`, `limit` and the query grammar (OR, five names max, whole words, `*` suffix wildcard), making 3 the baseline. The description restates `days` scoping and the query semantics but adds no meaning beyond those field descriptions; the wildcard and OR-limit rules are verbatim schema content.

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 the specific resource and scope: stories from the last `days` whose pieces name the query, one row per story. It also names two downstream siblings (`why` for a row's `item_id`, `save_interest` for examples), which helps an agent place it in the workflow. It stops short of contrasting with other retrieval siblings such as `top` or `morning`, so differentiation is only partial.

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 implied rather than stated: you search when you need stories matching a named query, and a returned row's `item_id` routes to `why` while its title feeds a draft via `save_interest`. Those are useful explicit next-step pointers, but there is no when-not-to-use guidance and no comparison against the other read tools in the sibling list.

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