Skip to main content
Glama
media-cloud-mcp

media-cloud-mcp

by nchafni

List stories

list_stories
Read-only

Retrieve news stories matching a Boolean query within a date range, filtered by source or collection. Use pagination tokens to page through results.

Instructions

List stories matching a query: ID, title, URL, publication date, language and source.

Repeat with pagination_token to get more. next_page_token is null on the last page.

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": {
      "query": "<query>",
      "start_date": "<start_date>",
      "end_date": "<end_date>"
    },
    "name": "list_stories"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesBoolean query, e.g. "climate change" AND policy. AND/OR/NOT must be capitalized and phrases need double quotes. Use * to match all stories. Full syntax is in the mediacloud://query-guide resource.
end_dateYesLast publication date, YYYY-MM-DD.
page_sizeNoStories per page.
randomizedNoReturn stories in random order.
sort_orderNoOrder by publication date.
source_idsNoMedia sources to search. Find IDs with search_sources.
start_dateYesFirst publication date, YYYY-MM-DD.
include_textNoInclude full text. Only works for accounts with elevated access.
collection_idsNoCollections to search. Find IDs with search_collections.
pagination_tokenNonext_page_token from the previous page.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, and destructiveHint=false, so safety is covered. The description adds genuine behavioral detail about pagination termination ("`next_page_token` is null on the last page"), but says nothing about result volume, rate limits, or the elevated-access caveat that governs `include_text`.

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?

Three short sentences with no filler, and the returned-field summary is front-loaded. The pagination sentences are useful but could be merged into one without loss.

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 needn't explain return values, and annotations cover the safety profile. It covers the listing scope and pagination loop, which is what an agent needs to call it correctly; only the absence of alternative-tool routing keeps it from a 5.

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 all ten parameters are documented in the schema itself, including the query syntax and the cross-references to search_sources and search_collections. The description adds only the meaning of the pagination token pair, which is a modest but real increment over the schema; baseline 3 applies.

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 and resource ("List stories") and even enumerates the fields returned (ID, title, URL, publication date, language, source). It does not, however, distinguish itself from siblings such as sample_stories or count_stories, so the agent must infer the boundary from names alone.

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?

There is no explicit statement of when to use this tool versus alternatives like sample_stories or count_stories, and no prerequisites are mentioned. The only procedural guidance is the pagination instruction ("Repeat with `pagination_token` to get more"), which tells the agent how to continue a call but not when to choose it.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.