Skip to main content
Glama

Search Articles

search_articles
Read-onlyIdempotent

Full-text search of New York Times news articles. Returns headlines, abstracts, sections, bylines, and URLs. Example: search_articles({ query: "artificial intelligence", sort: "newest" })

Input Schema

NameRequiredDescriptionDefault
pageNoResult page (0-indexed, 10 results per page). Default 0.
sortNoSort order for results. Default "newest".
queryYesSearch query — keywords or phrase to search New York Times articles for.
_apiKeyNoOptional — your own NYT API key for higher limits; omit to use the shared Pipeworx key.
begin_dateNoEarliest article date in YYYYMMDD format, e.g. "20240101" (optional).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "query": "climate change",
      +    "sort": "newest"
      +  },
      +  {
      +    "begin_date": "20240101",
      +    "page": 0,
      +    "query": "inflation",
      +    "sort": "relevance"
      +  }
      +]
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint false, so the safety profile is clear. The description adds value by specifying what fields are returned (headlines, abstracts, etc.) and providing an example call, but does not disclose rate limits or pagination limits beyond what the schema provides.

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?

Description is extremely concise with one sentence and one example. It is front-loaded with the core purpose, and every element is informative. No wasted words.

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?

Given the tool has comprehensive annotations and a fully described schema, the description is complete enough for a search tool. It covers what the tool does and what it returns, though it does not explain pagination or result limits beyond what is in the schema.

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 baseline is 3. The description does not add additional meaning to parameters beyond what is in the schema; the example merely illustrates usage but does not clarify semantics further.

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?

Description explicitly states 'Full-text search of New York Times news articles', providing a specific verb and resource. It distinguishes from siblings like top_stories and movie_reviews by focusing on full-text search rather than curated lists or reviews.

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?

The description clearly implies when to use: when a full-text search across NYT articles is needed. An example is provided, but no explicit when-not-to-use or alternatives are stated, though the tool's purpose is sufficiently clear for an AI agent.

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.