Skip to main content
Glama

search_amsel

Read-onlyIdempotent

Search page names and text case- and accent-insensitively across all known files or a specified Tome/Lore; include linked Lore when a Tome is given and limit results as needed.

Instructions

Search page names and text (case- and accent-insensitive).

Args:
    query: text to look for.
    file: optional Tome/Lore name or path; when a Tome is given its linked Lore is searched too.
        When omitted, every known file is searched.
    limit: maximum number of results.

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_amsel"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileNo
limitNo
queryYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world, so the safety profile is covered. The description adds genuinely non-obvious behavior: matching is case- and accent-insensitive, and searching by Tome implicitly extends scope to its linked Lore. Remaining gaps are ranking/ordering of results and whether result volume is capped beyond limit.

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?

The one-line summary is front-loaded with the core behavior, and the Args block is tightly scoped to the three parameters. Nothing is redundant, though the file entry is a multi-clause sentence whose nested conditions could be split for faster scanning.

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 an output schema present, return structure need not be documented, and all three inputs are explained along with the scope-expansion rule. What is missing is minor: result ordering, whether the query supports phrases or operators, and the default value of limit.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/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 carry the load, and it does: query is the text to find, file accepts a Tome/Lore name or path with the linked-Lore expansion rule and the omitted-means-everything default, and limit caps result count. The only shortfall is that limit's default of 20 and any minimum/maximum behavior are left to the schema.

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 page names and text') plus a matching-behavior qualifier (case- and accent-insensitive), which makes the operation unambiguous. It does not explicitly contrast itself with nearby read/list tools, so an agent must infer that this is the discovery entry point rather than a retrieval tool.

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 through the scope rules ('when omitted, every known file is searched', and a Tome pulls in its linked Lore), which tells the agent how to widen or narrow a search. There is no explicit when-to-use versus when-not-to-use guidance, nor any mention of when a read/list sibling would be preferable.

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