Skip to main content
Glama

HandleHaul

Highlight stories

get_highlight_stories
Read-onlyIdempotent

The stories inside one story highlight (ids come from get_highlights). Paginate by passing pagination.next_cursor back as cursor while pagination.has_more is true. Costs 1 credit per page (nothing from cache, on errors or with a kd_test_ sandbox key).

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": {
      "highlight": "<highlight>"
    },
    "name": "get_highlight_stories"
  }
}

Input Schema

NameRequiredDescriptionDefault
freshNotrue skips the cache and fetches live data (full price). Default false.
cursorNopagination.next_cursor from the previous page. Leave out for the first page.
highlightYesNumeric highlight id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld, and non-destructive, so the safety profile is covered. The description adds behavior an agent could not infer: cost is 1 credit per page, cached reads still cost, errors and kd_test_ sandbox keys are free, and fresh=true bypasses cache at full price. It stops short of describing what the page of stories contains.

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

Conciseness5/5

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

Three short sentences, front-loaded with what the tool returns and where the id comes from, followed by pagination and cost. Every sentence carries information an agent needs.

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 3-parameter read tool with no output schema, the description covers id sourcing, pagination mechanics, cache behavior, and pricing. The remaining gap is the shape of the returned story objects, which the absence of an output schema leaves undocumented.

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 100%, so the baseline is 3, but the description adds relational meaning the schema cannot: the highlight id originates from get_highlights and the cursor must be the pagination.next_cursor from the prior page, tied to the has_more loop condition.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: retrieves the stories inside a single story highlight. It also distinguishes itself from the related list tool by naming get_highlights as the source of the required id, so an agent can tell it apart from get_stories or get_story.

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?

Gives concrete usage context: highlight ids come from get_highlights, and pagination should continue by feeding pagination.next_cursor back as cursor while pagination.has_more is true. It doesn't explicitly say when to pick this over get_stories, but the sub-resource framing makes the intent clear.

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.