Skip to main content
Glama

Search the policy wordings

search_wording
Read-onlyIdempotent

For anything the questions and cover items don't cover (e.g. 'phone', 'helicopter', 'stolen rope'): searches every policy's full documents and returns, per insurer, the policies that mention it with short exact excerpts, the document and page. Excerpts are verbatim, not interpreted; no match doesn't mean not covered.

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": {
      "line": "<line>",
      "query": "<query>"
    },
    "name": "search_wording"
  }
}

Input Schema

NameRequiredDescriptionDefault
lineYesInsurance line id: climbing
queryYesWords to look for, in plain English

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / line / description
      Added value: +"Insurance line id: climbing"
    • addedInput schema / properties / line / enum
      Added value: +[
      +  "climbing"
      +]
  2. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent, closed-world, and non-destructive, so the description doesn't need to repeat safety. Instead it adds high-value behavior the agent cannot get elsewhere: excerpts are verbatim and not interpreted, results are grouped per insurer and cite document and page, and critically that 'no match doesn't mean not covered' — a caveat that prevents a false negative being read as a coverage denial.

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 purpose and its exclusion are front-loaded before the return-value detail, so an agent can decide quickly. It is a long single run-on sentence with parenthetical examples, but essentially every clause carries distinct information (return grouping, excerpt fidelity, the no-match caveat).

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Only two parameters and no output schema, so the description must carry the return contract — and it does: per-insurer policies, verbatim excerpts, document and page. Combined with the explicit misinterpretation warning, an agent has everything needed to call this and to read the result correctly.

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%, so both parameters are already documented, including the single-value 'climbing' enum. The description adds modest meaning by framing the search as full-document keyword matching over every policy, implying the query is literal text rather than semantic, but it gives no query syntax or multi-word guidance.

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 ('searches every policy's full documents') and precisely describes the return shape: per-insurer grouping, matching policies, short exact excerpts, document and page. It explicitly carves out the territory not handled by the questions/cover-item tools, so an agent can tell it apart from get_questions, is_covered, or find_policy 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 Guidelines4/5

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

Opens with an explicit when-to-use rule ('For anything the questions and cover items don't cover') and reinforces it with concrete example queries ('phone', 'helicopter', 'stolen rope'). The exclusion is expressed by concept rather than by naming the sibling tools, so the routing signal is clear but not maximally explicit.

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