Skip to main content
Glama

Get policy details

get_policy
Read-onlyIdempotent

Returns one policy's published values, each with its citation (document, section, page and verbatim quote), its catches and example prices.

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

Input Schema

NameRequiredDescriptionDefault
lineYesInsurance line id: climbing
policy_idYesA policy id (find_policy or match_policies lists them)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / line / description
      Added value: +"Insurance line id: climbing"
    • addedInput schema / properties / line / enum
      Added value: +[
      +  "climbing"
      +]
    • addedInput schema / properties / policy_id / description
      Added value: +"A policy id (find_policy or match_policies lists them)"
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety bar is low. The description adds some useful context by specifying that only *published* values are returned and by describing the citation structure — a real scope constraint — but it says nothing about behavior for a missing/invalid policy_id or about unpublished drafts.

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?

A single front-loaded sentence with no filler; the return elements are listed inline rather than padded into separate paragraphs. Minor deduction because terms like 'catches' are project jargon left unexplained.

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

Completeness3/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 must carry the return-value burden, and it does sketch the payload shape. However, it leaves ambiguity (what 'catches' are, whether the quote fields are always present) and omits error/empty-result behavior, which is a noticeable gap for a two-required-param detail 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 coverage is 100%, so both parameters (line, policy_id) are already documented, including where to obtain ids. The description adds no additional meaning about parameter formats or constraints, so the baseline 3 applies.

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 ('Returns one policy's published values') and enumerates the payload (citations, catches, example prices), which tells the agent this is a detail-fetch tool rather than a list or search tool. It does not name a sibling to contrast with, so it stops short of full differentiation.

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

Usage Guidelines2/5

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

The description gives no explicit when-to-use or when-not-to-use guidance; the only routing hint ('find_policy or match_policies lists them') lives in the schema, not the description. 'One policy's' weakly implies a single-id lookup, but the agent must infer the rest.

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