Skip to main content
Glama

search_sprites

Read-only

Search visible sprite names and keyword tags by case-insensitive literal substring, optionally filtered by templateId. Exact names rank first. Returns compact IDs, names, keywords and template IDs; use get_sprite for selected asset details.

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": {
      "name": "<name>"
    },
    "name": "search_sprites"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
limitNo
templateIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly=true, destructive=false, openWorld=false, so the safety profile is covered. The description adds genuinely non-obvious behavior: only visible sprites are matched, matching is literal substring rather than fuzzy/regex, and exact names are ranked ahead of partial matches. It also sketches the return payload (compact IDs, names, keywords, template IDs), which matters since there is no output schema.

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?

Three tightly packed sentences, front-loaded with what is searched and how, then ranking, then return shape and the escalation path to get_sprite. No filler or restated name/title.

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 no output schema, the description correctly spends words on what comes back (compact IDs, names, keywords, template IDs) and on the follow-up tool. The only real gap is `limit`/pagination and result-count behavior, which an agent would need to call it precisely.

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 0%, so the description must compensate. It clarifies that `name` is a case-insensitive literal substring (not exact, not regex) and that `templateId` is an optional filter. It says nothing about `limit` (range 1-100, default behavior), leaving that parameter's meaning to the schema alone.

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 (search sprite names and keyword tags) plus the matching mechanism (case-insensitive literal substring) and ranking rule (exact names first). It also distinguishes itself from the sibling get_sprite by scoping this tool to discovery rather than asset detail.

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?

Explicitly routes the agent: use this for lookup, then call get_sprite for details on a selected asset. That is a clear use-plus-alternative statement, though it doesn't state when this tool is a poor choice (e.g., enumeration vs. search, which list_sprites implies).

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.

Resources