Skip to main content
Glama
rnakashima1

Local News Matters MCP server

by rnakashima1

search_photos

Find photos in the Local News Matters media library by matching search terms against title, caption, and alt text. Filter results by article and retrieve paginated summaries with source URLs.

Instructions

Search photos/images in the Local News Matters media library.

Args: query: Search terms matched against title, caption and alt text. page: 1-based page number. per_page: Results per page (1-100). article_id: Restrict to photos attached to a specific article. response_format: "json" (default) for raw data, or "markdown" for readable text.

Returns results (photo summaries incl. source_url) plus total, total_pages.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNo
queryNo
per_pageNo
article_idNo
response_formatNojson

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations provided, the description carries the burden and discloses useful behavioral details including pagination fields and response_format options. It does not cover permissions, rate limits, or default search scope, but for a search tool it adds substantial context.

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?

The description is front-loaded with purpose, then structured into Args and Returns. Every sentence earns its place, and there is no redundant or misleading text.

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?

The tool has 5 parameters, no required parameters, and an output schema. The description fully documents parameter semantics and return fields, though it omits guidance on sibling-tool selection, leaving a minor gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate fully. It does so by explaining every parameter: query matching against title/caption/alt text, 1-based page, per_page range, article_id restriction, and response_format behavior.

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 a specific verb and resource: searching photos/images in the Local News Matters media library. It is clear what the tool does, but it does not explicitly distinguish itself from sibling tools like get_article_photos or get_photo.

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?

The description implies usage through the article_id parameter and search semantics, but does not state when to prefer this tool over alternatives such as search_articles or get_article_photos. No explicit when-not guidance is provided.

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