Skip to main content
Glama

Search game objects

search_objects
Read-only

Search Mount & Blade II module XML objects like items, troops, heroes, and kingdoms by ID, name, or attributes. Chinese queries match simplified names; results show module file and key attributes.

Instructions

Searches every module's XML objects (items, troops, heroes, clans, kingdoms, settlements, cultures, crafting pieces, party templates, strings, …) by id / name and attribute filters. Chinese queries also match the 简体中文 names. Returns 'Tag.id "Name" — module file:line | key attributes'.

Input Schema

NameRequiredDescriptionDefault
langNoAlso show/match translated names in this language (CNs, zh, 简体中文, RU, …).
typeNoTag or reference prefix, e.g. Item (includes CraftedItem), NPCCharacter, Hero, Faction, Kingdom, Settlement, Culture, PartyTemplate, CraftingPiece. Comma list allowed.
limitNoMax results (default 30, max 200).
queryNoSubstring of id or name (case-insensitive), or /regex/. Optional when type/where is given.
whereNoAttribute filters on the object element: culture=Culture.empire, Type=OneHandedWeapon, level>20, is_hero=true, name~sword, tier?, !culture
moduleNoModule filter: id, comma list, official | mods | writable | workshop. Default: all.
offsetNoSkip this many results (paging).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds real behavioral context beyond that: it searches across every module, supports Chinese (简体中文) name matching, and specifies the exact return line format, which is valuable given no output schema exists.

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 tight sentences with no filler; the scope and matching behavior are front-loaded and the return-format sentence earns its place by compensating for the absent output schema.

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 broad read-only search with no output schema, the description supplies the missing return shape and notes cross-module and multilingual matching. It is nearly complete, though it omits default result caps and paging interplay that the schema handles separately.

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 all seven parameters are already documented in the schema. The description only restates the id/name/attribute-filter dimension, adding no syntax detail beyond what the schema provides, so the baseline of 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 (Searches) and resource (every module's XML objects), then enumerates the object families covered. This clearly distinguishes it from single-object retrieval tools like get_object and reference tools like find_references.

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?

It notes query is optional when type/where is given, implying filter-based search, and the schema notes default module scope. However, it never states when to choose this over siblings such as list_types, get_object, or find_references, leaving the routing to inference.

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