Skip to main content
Glama
Wikimedia Commons MCP Server

Wikimedia Commons MCP Server

by irfandemir00

Preview Wikimedia Commons Image

preview_image
Read-onlyIdempotent

Fetch a size-bounded raster thumbnail of a Wikimedia Commons file for direct visual inspection, along with attribution metadata.

Instructions

Fetch a size-bounded raster thumbnail of a Commons file and return it as MCP ImageContent for direct visual inspection, alongside attribution metadata.

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": {
      "title": "<title>"
    },
    "name": "preview_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleYesCommons file title (with or without File: prefix)
widthNoPreview width in pixels (64-1280, default 640)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and open-world behavior, so the safety profile is covered. The description adds useful context beyond that — the output is ImageContent plus attribution metadata and is size-bounded by a maximum width. It does not say what happens for non-raster files (SVG, PDF) or on failure, which is a real gap for a preview tool.

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?

A single well-formed sentence that front-loads the action, qualifies the resource ('size-bounded raster thumbnail'), and closes with the return shape. No filler or redundancy.

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 two-parameter, no-output-schema tool, the description covers what is returned (ImageContent plus attribution) and the bounding constraint. Coverage is good; the only shortfall is unstated behavior for non-raster or missing files, which an agent would want to know.

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 coverage is 100%, so both parameters (title, width) are fully documented in the schema with ranges and defaults. The description's 'size-bounded' wording hints at the width cap but adds no syntax or format detail beyond what the schema already says, so the baseline of 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?

The description names a specific verb and resource — 'Fetch a size-bounded raster thumbnail of a Commons file' — and states the return form (MCP ImageContent plus attribution metadata). This clearly separates it from metadata-only siblings like get_file_details, though no sibling is named explicitly.

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?

Usage is only implied by the phrase 'for direct visual inspection', which suggests previewing before a fuller fetch or download. There is no explicit statement of when to prefer this over download_file or get_file_details, and no exclusions.

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