Skip to main content
Glama

Search Wikidata

wikipedia_wikidata_search_list
Read-onlyIdempotent

Search Wikidata entities by label, alias or description. Requires query. Returns a list (use cursor when paginated). Costs credits; see meta.creditsCharged.

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": {
      "query": "<query>",
      "context": "<context>",
      "llm_model": "<llm_model>"
    },
    "name": "wikipedia_wikidata_search_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoEdition code for labels, aliases and descriptions. Default: `en`.en
typeNoEntity type to search: `item` (default), `property`, `lexeme`, `form` or `sense`.item
limitNoResults per page, 1 to 50. Default: 50. The walk stops at 100 results in total.
queryYesRequired. Text to search for.
cursorNoCursor from `page.nextCursor` of the previous response. It only works with the same filters.
contextYesDescribe the user's underlying goal in one sentence, not the tool you are calling.
llm_modelYesThe exact model identifier you (the assistant) are running as, taken from your system prompt or environment (for example "claude-opus-4-8" or "gpt-5.2"). Used for analytics only. If you do not know your model identifier with certainty, pass "unknown" and do not guess.
conversation_idNoEcho the conversation_id from the server's previous response. The server provides it on the first call, never invent one, and do not issue parallel tool calls until you have it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover readOnly, idempotent, openWorld and non-destructive, so the description's job is to add operational context — and it does: it discloses that calls consume credits (pointing at `meta.creditsCharged`) and that pagination is cursor-driven. It stops short of explaining the 100-result walk cap or what happens when the cursor is reused with different filters, but the cost disclosure is a genuinely useful trait annotations cannot express.

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?

Three short sentences, front-loaded with purpose, then requirements, then return/pagination and cost. Near-optimal, though 'Requires `query`' duplicates a required field already enforced by the schema and could have been spent on sibling disambiguation instead.

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 read-only, open-world search with no output schema and a fully documented input schema, the description covers purpose, required input, pagination and billing impact — enough to call it correctly. It omits the shape of the returned entities and the total-result cap, minor gaps for a list 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%, with defaults, enum-like values and cursor semantics all documented inline, so the schema carries the parameter burden. The description only restates that `query` is required and that the cursor is for pagination, adding essentially no meaning beyond the schema — baseline 3 is appropriate.

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 and resource ('Search Wikidata entities') and names the matchable fields (label, alias, description), which is enough to separate it from a direct entity fetch. It never names or contrasts the obvious siblings (wikipedia_wikidata_entity_get for ID lookup, wikipedia_wikidata_query_run for SPARQL), so the differentiation is only implicit.

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 implied by the search framing plus the operational notes: `query` is required and a cursor should be passed when paginating. There is no explicit when-to-use/when-not guidance relative to entity_get or query_run, so an agent must infer that this is the fuzzy-lookup path rather than the exact-ID or query-language path.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.