Skip to main content
Glama

Search the map

search
Read-only

Find map items by text: objects, fields, findings, processes, metrics, documents, approved playbooks and workflows. Use it when you do not know a name; for a task in words call get_task_context, for an object you can name get_object. Each result has an id for fetch. Relations: use route; use ask for an explanation. Details: maplith://docs/mcp.

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

Input Schema

NameRequiredDescriptionDefault
queryYesOne term or phrase, e.g. "VAT"; not a keyword list.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / query / description
      Previous value: -"One term or phrase, a case-insensitive substring as written, e.g. \"VAT\"; not a keyword list."New value: +"One term or phrase, e.g. \"VAT\"; not a keyword list."
  2. Changed1 schema field changed
    • changedInput schema / properties / query / description
      Previous value: -"One term or phrase, matched as a case-insensitive substring exactly as written, e.g. \"VAT\"; not a keyword list. One word finds more than several."New value: +"One term or phrase, a case-insensitive substring as written, e.g. \"VAT\"; not a keyword list."
  3. Changed1 schema field changed
    • changedInput schema / properties / query / description
      Previous value: -"Words to look for, matched as a case-insensitive substring of names and texts exactly as written: one term or phrase, not a list of keywords or a boolean expression, e.g. \"VAT\" or \"return policy\". Spaces and hyphens differ, so \"where is my order\" misses \"where-is-my-order\"; one word (\"paid\") finds more than several (\"amount paid total\")."New value: +"One term or phrase, matched as a case-insensitive substring exactly as written, e.g. \"VAT\"; not a keyword list. One word finds more than several."
  4. Changed1 schema field changed
    • changedInput schema / properties / query / description
      Previous value: -"Words to look for, matched as a case-insensitive substring of names and texts; one term or phrase, not a boolean expression, e.g. \"VAT\" or \"return policy\"."New value: +"Words to look for, matched as a case-insensitive substring of names and texts exactly as written: one term or phrase, not a list of keywords or a boolean expression, e.g. \"VAT\" or \"return policy\". Spaces and hyphens differ, so \"where is my order\" misses \"where-is-my-order\"; one word (\"paid\") finds more than several (\"amount paid total\")."
  5. Changed1 schema field changed
    • addedInput schema / properties / query / description
      Added value: +"Words to look for, matched as a case-insensitive substring of names and texts; one term or phrase, not a boolean expression, e.g. \"VAT\" or \"return policy\"."
  6. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, destructiveHint=false and a closed world, so safety is covered. The description adds valuable behavior beyond that: results carry an id usable with fetch, which is the only return-shape information available since there is no output schema. It stops short of describing result ordering, ranking, or result-count limits, keeping it at a 4.

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 with the purpose and item types, then routing guidance, then the output hint, then a docs pointer — a sensible priority order with no filler. The terse routing clauses ('Relations: use route; use ask for an explanation') read slightly telegraphic but remain decodable.

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 single-parameter read-only search with no output schema, the definition covers purpose, alternatives, and the key return fact (ids feed fetch). Ordering, pagination, and match semantics are left unspecified, which is a minor but real gap for a search 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 description coverage is 100%, including the critical constraint that the query is one term or phrase rather than a keyword list, so the schema does the heavy lifting. The description adds context about what kinds of items a text match can return, but nothing about matching semantics, and the baseline of 3 applies when the schema is fully documented.

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 ('Find') and resource ('map items'), then enumerates the item types searched (objects, fields, findings, processes, metrics, documents, playbooks, workflows). It explicitly contrasts with siblings get_task_context and get_object, so an agent can distinguish it without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Gives an explicit selection rule ('Use it when you do not know a name') and names the alternatives with their triggering conditions: get_task_context for a task in words, get_object for a nameable object, route for relations, ask for explanations, fetch for retrieval by id. That covers when-to-use and when-not-to-use.

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