Skip to main content
Glama

mediawiki_check_terminology

Read-only

Check MediaWiki pages for terminology violations against a glossary, listing page, line, wrong term, and correct term so users can fix inconsistent naming.

Instructions

Scan pages for terminology violations against a glossary.

USE WHEN: User asks "check brand terminology", "find incorrect terms", "verify consistent naming".

PARAMETERS:

  • pages: Array of pages to check (optional)

  • category: Check all pages in category (optional)

  • glossary_page: Wiki page with term mappings (default "Brand Terminology Glossary")

  • exclude_code_blocks: Skip code blocks (default true)

  • limit: Max pages (default 10)

RETURNS: Violations with page, line, wrong term, and correct term.

Input Schema

NameRequiredDescriptionDefault
limitNoMax pages to check (default 10, max 50)
pagesNoPage titles to check. If empty, uses pages from category.
categoryNoCategory to get pages from (alternative to pages list)
rationaleNoOptional one-sentence explanation of why you are calling this tool. Used for audit trails when present.
glossary_pageNoWiki page containing the glossary table (default: 'Brand Terminology Glossary')
exclude_code_blocksNoSkip code blocks (syntaxhighlight, source, pre, code tags) to avoid false positives on code paths. Default: true

Output Schema

NameRequiredDescriptionDefault
pagesYes
issues_foundYes
terms_loadedYes
glossary_pageYes
pages_checkedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.31.0
    • addedInput schema / properties / rationale
      Added value: +{
      +  "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.9/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. The description adds the glossary-driven scope and the exclude_code_blocks rationale ('avoid false positives on code paths'), but omits anything about the default-limit cap interaction or what happens when neither pages nor category is supplied. No contradiction with annotations.

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?

Front-loaded purpose sentence followed by tight USE WHEN, PARAMETERS, and RETURNS blocks — no filler. Minor deduction: the RETURNS line duplicates what the existing output schema already conveys, and the parameter block re-lists schema facts.

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 six optional parameters, an output schema, and read-only annotations, the agent has most of what it needs: trigger phrases, defaults, and a return-shape sketch. The gap is that no parameters are required and the description never states the behavior when both pages and category are empty or when they conflict.

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%, so the schema already documents all six parameters including defaults, the max-50 limit, and the code-block exclusion rationale. The description's PARAMETERS list largely restates that schema content, adding only the glossary page default value, so baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Scan pages for terminology violations against a glossary') that is immediately distinguishable from siblings like mediawiki_check_links, mediawiki_check_translations, and mediawiki_find_replace. An agent can tell what this tool does without opening the schema.

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' block gives three explicit user-intent triggers ('check brand terminology', 'find incorrect terms', 'verify consistent naming'), which is strong positive routing. It stops short of naming alternatives or stating when not to use it (e.g. vs. bulk_replace or find_replace for actually fixing terms).

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