Skip to main content
Glama
crunchtools

mcp-mediawiki-crunchtools

by crunchtools

Get File Info Tool

get_file_info_tool
Read-only

Retrieve file or image metadata from a MediaWiki wiki by filename, so you can inspect file details without opening the file page.

Instructions

Get file/image metadata from the wiki.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filenameYesFile name (with or without "File:" prefix)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.2.1
    • addedInput schema / properties / filename / description
      Added value: +"File name (with or without \"File:\" prefix)"
  2. Changed1 schema field changedv0.1.4
    • removedInput schema / properties / filename / description
      Removed value: -"File name (with or without \"File:\" prefix)"
  3. Changed1 schema field changed
    • addedInput schema / properties / filename / description
      Added value: +"File name (with or without \"File:\" prefix)"
  4. First observedv0.1.3

TDQS

B3.2/5.0
Behavior2/5

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

readOnlyHint=true already declares the safe-read profile, and an output schema exists, so the safety and return-value burden is covered elsewhere. The description adds essentially nothing beyond structured fields — no note on which metadata fields are returned, whether missing filenames error out, or how namespaces/redirects are handled.

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?

One short sentence, resource-first, with zero filler. Nothing in the sentence fails to earn its place.

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 single-parameter read tool with annotations and an output schema, the description tells an agent enough to call it correctly. The only meaningful omission is the lookup-vs-list decision relative to list_files_tool.

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% and the single parameter is documented (including the optional "File:" prefix handling), so the schema does the heavy lifting. The description contributes no additional filename syntax or resolution semantics; 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?

States a specific verb (Get) and resource (file/image metadata) scoped to the wiki, which is clearly distinct from sibling list_files_tool (enumerating files) and get_page_tool (page content). It stops short of explicitly naming an alternative, but the resource itself disambiguates well.

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

Usage Guidelines2/5

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

There is no guidance on when to reach for this versus list_files_tool (to find a filename) or get_page_tool (for page content). The only usage signal is implicit in the resource name, which is the same deficiency the MID calibration example was penalized for.

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