Skip to main content
Glama
Wikimedia Commons MCP Server

Wikimedia Commons MCP Server

by irfandemir00

Get Wikimedia Commons File Details

get_file_details
Read-onlyIdempotent

Retrieve complete metadata for a Wikimedia Commons file, including original and thumbnail URLs, dimensions, MIME type, license, author, attribution, categories, and EXIF data.

Instructions

Retrieve full metadata for a Wikimedia Commons file: original and thumbnail URLs, dimensions, MIME type, SHA-1, license, attribution, author, description, categories, and EXIF technical 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": "get_file_details"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleYesCommons file title (with or without File: prefix)
thumbWidthNoDesired thumbnail width in pixels (64-2048, default 640)
includeHiddenCategoriesNoInclude hidden maintenance categories (default false)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/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 fully covered. The description's substantive addition is the return-content inventory, which is useful given there is no output schema. It says nothing about error behavior for missing or non-file titles, redirects, or rate limits, so the bar for added behavioral context is only partly met.

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?

A single front-loaded sentence opens with the verb and resource, then spends the remainder on a dense return-value list where every item earns its place. The trailing enumeration is slightly crammed, but there is no filler and nothing redundant with annotations.

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 rich annotations and no output schema, the description correctly compensates by listing what the call returns, which is what an agent most needs here. Gaps remain around failure modes and title-resolution behavior, but for a three-parameter read tool the definition is close to sufficient.

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%, with title, thumbWidth range and default, and includeHiddenCategories all documented in the schema. The description mentions thumbnails and categories only as output fields and adds no syntax, format, or edge-case meaning beyond the schema, so the 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?

The description uses a specific verb (Retrieve) and resource (full metadata for a Wikimedia Commons file) and enumerates the returned fields, which makes it distinguishable from siblings like get_file_usage or download_file that operate on the same resource. It stops short of naming any sibling explicitly, so differentiation is by inference rather than statement.

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: the required 'title' parameter and the field list suggest this is for inspecting a known file rather than discovering one, but there is no explicit when-to-use or when-not guidance. No alternative is named for cases like fetching usage data or downloading the binary.

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