Skip to main content
Glama

Search Articles

search_articles
Read-onlyIdempotent

Search the article archive by keyword (headline, summary, key facts, entities, tickers). Use get_latest instead for the newest articles without a query; open a hit's full text with get_article (the slug comes from the search results). Matching is a case-insensitive substring match of the whole query against each article's headline, summary, key facts, entities, and tickers — not a semantic search; headline matches rank first, then newest first. An empty query returns an error. count is the number of articles returned. Returns {query, count, articles} with the same brief shape as get_latest. Behaviour: read-only and public — no authentication or API key; served from the site's published article files, and every call is logged for readership analytics (tool name, key argument, result count, the client name and version declared in the initialize handshake, agent/browser class, user-agent string, and a salted one-way hash used only to count repeat visitors; no IP addresses are stored).

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>"
    },
    "name": "search_articles"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax results (1-20, default 10).
queryYesKeyword or phrase.

Output Schema

NameRequiredDescriptionDefault
countYesNumber of articles returned.
queryYes
articlesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "articles": {
      +      "items": {
      +        "additionalProperties": false,
      +        "description": "Article brief as built by brief(): headline and slug always present; the optional fields appear only when the article twin carries them.",
      +        "properties": {
      +          "category": {
      +            "type": "string"
      +          },
      +          "datePublished": {
      +            "type": "string"
      +          },
      +          "entities": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "headline": {
      +            "type": "string"
      +          },
      +          "keyFacts": {
      +            "description": "Up to 5 key facts.",
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "slug": {
      +            "type": "string"
      +          },
      +          "summary": {
      +            "type": "string"
      +          },
      +          "tickers": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "url": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "headline",
      +          "slug"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "count": {
      +      "description": "Number of articles returned.",
      +      "type": "integer"
      +    },
      +    "query": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "query",
      +    "count",
      +    "articles"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuinely useful context beyond that: no authentication or API key, data served from published article files, case-insensitive substring matching rather than semantic search, ranking order, and an error on empty query. However, the extensive analytics/logging disclosure (client name, user-agent, visitor hash) is verbose detail that matters more for privacy review than for invoking the tool correctly, so it does not lift this to 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.

Conciseness4/5

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

Front-loaded with purpose, then alternatives, then matching semantics, then return shape, then behavior — a sensible ordering with no filler sentences. The long parenthetical inventory of logged fields is the one stretch that costs readability without helping an agent decide or call.

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

Completeness5/5

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

An output schema exists and the description still names the return shape ({query, count, articles}), matching semantics, ranking, the empty-query error, and auth posture. Nothing an agent needs in order to invoke this correctly is missing.

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, and the description exceeds it by defining what `query` actually matches ('case-insensitive substring match of the whole query against headline, summary, key facts, entities, and tickers') and what an empty value does. `limit` is left entirely to the schema, and the sentence 'count is the number of articles returned' slightly muddies the distinction between the count in the response and the limit parameter.

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 ('Search the article archive by keyword') and then pins down the searched fields (headline, summary, key facts, entities, tickers). It explicitly contrasts itself with get_latest and get_article, so an agent can route correctly without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit when-to-use (keyword search across fields) and when-not ('Use get_latest instead for the newest articles without a query'), plus the follow-up path ('open a hit's full text with get_article (the slug comes from the search results)'). The one exclusion it leaves implicit — no query means an error — is still stated as a behavioral rule.

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