Skip to main content
Glama

mediawiki_get_wiki_info

Read-only

Retrieve wiki name, MediaWiki version, and usage statistics like total pages, users, and edits.

Instructions

Get information about the wiki itself.

USE WHEN: User asks "what wiki is this", "wiki statistics", "MediaWiki version".

PARAMETERS: None

RETURNS: Wiki name, version, statistics (pages, users, edits).

Input Schema

NameRequiredDescriptionDefault
rationaleNoOptional one-sentence explanation of why you are calling this tool. Used for audit trails when present.

Output Schema

NameRequiredDescriptionDefault
serverYes
base_urlYes
languageYes
timezoneYes
generatorYes
main_pageYes
site_nameYes
statisticsNo
php_versionYes
article_pathYes
write_api_enabledYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.31.0
    • addedInput schema / properties
      Added value: +{
      +  "rationale": {
      +    "description": "Optional one-sentence explanation of why you are calling this tool. Used for audit trails when present.",
      +    "type": "string"
      +  }
      +}
  2. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true and idempotentHint=false, so the safety profile is covered externally. The description adds nothing behavioral beyond that — no note on caching, freshness, or why an idempotent-looking read is flagged non-idempotent — so it earns only the minimum-plus credit.

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?

Four short labeled lines, front-loaded with purpose before usage and return shape; nothing is wasted. The 'PARAMETERS: None' line is slightly redundant against a schema that carries one optional field, keeping it out of 5 territory.

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?

For a zero-required-parameter read tool with full annotation coverage and an output schema, this tells the agent everything needed: what it returns, when to call it, and that it takes no input. Nothing material is missing.

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 (rationale) is fully documented in the schema, which sets the baseline at 3. The description's 'PARAMETERS: None' is a mild imprecision since an optional rationale exists, but it adds no meaning beyond the schema.

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+resource ('Get information about the wiki itself') and the RETURNS line enumerates the concrete payload (name, version, statistics). The resource is clearly distinct from page-level siblings like mediawiki_get_page_info or mediawiki_get_page_summary, 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 Guidelines4/5

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

The 'USE WHEN' line gives three concrete user phrasings ('what wiki is this', 'wiki statistics', 'MediaWiki version') that map cleanly to this tool. It offers no exclusions or named alternatives, so it stops short of a 5.

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