Skip to main content
Glama

Find a policy by name

find_policy
Read-onlyIdempotent

Finds policies by insurer, product or tier name and returns their ids, names and key facts (e.g. "Austrian Alpine Club UK (Alpenverein Britannia)"). An empty query lists every policy.

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

Input Schema

NameRequiredDescriptionDefault
lineYesInsurance line id: climbing
queryNoInsurer, product or tier name, in any words

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

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 behavior, so the bar is lower; the description still adds value by naming the returned fields and disclosing the empty-query listing behavior. It stops short of noting any result limits or pagination when every policy is returned.

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?

Two sentences, front-loaded with the core capability and followed by the special-case behavior; every clause carries information and there is no boilerplate.

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 usefully states the return fields (ids, names, key facts) and the empty-query case, and both parameters are covered. A brief note on result size or follow-up usage would make it fully self-sufficient, but for a low-complexity lookup tool this is close to complete.

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 the baseline is 3; the schema already documents both 'line' and 'query', including 'in any words'. The description's only additional semantic is that an empty query lists everything, which is a real but small increment over the schema, and the enum/line argument gets no further explanation.

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?

The description gives a specific verb and resource ('Finds policies by insurer, product or tier name') and even states what is returned (ids, names, key facts), which is more than the title alone. It does not explicitly differentiate itself from siblings like get_policy or match_policies, leaving that inference to the agent.

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?

One concrete usage case is spelled out: an empty query lists every policy, which is genuinely useful routing information. However, there is no guidance on when to prefer this over get_policy (single lookup) or match_policies, so the when-to-use context is only implied.

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