Skip to main content
Glama
Kodeas
by Kodeas

Get insurance rate

deftship_get_insurance_rates
Read-only

Get insurance rate quotes for shipments by providing carrier, service code, and package details. Returns a price and insurance ID for later purchase.

Instructions

Quote insurance for a shipment. Creates an insurance record and returns its id (insurance_id) and price. Use deftship_book_insurance with the id to purchase. Does not spend money.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
carrierYesCarrier of the shipment to insure.
is_freightNoFreight shipment. Default false.
to_addressYesReceiver address.
from_addressNoSender address if no id given.
package_listYesPackages (with tracking numbers and item values) to insure.
service_codeYesService code of the shipment (see service names).
shipment_dateYesShipment date, format Y-m-d.
from_address_idNoSaved sender address id.
is_internationalNoInternational shipment. Default false.
Behavior1/5

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

Description claims it 'Creates an insurance record', implying a write operation, but annotations set readOnlyHint=true. This contradiction undermines transparency.

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?

Three concise sentences: purpose, output, usage guidance. No redundant information.

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?

Covers core purpose and workflow, but lacks detail on parameters like is_freight and is_international. No output schema but describes main return fields.

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 baseline is 3. The description adds little beyond schema, only mentioning return fields id and price.

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?

Clearly states it quotes insurance for a shipment, creates an insurance record, and returns id and price. Distinguishes from sibling tools like book_insurance and void_insurance.

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?

Explicitly advises to use deftship_book_insurance with the returned id to purchase, and notes it does not spend money, guiding when to use this tool versus alternatives.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Kodeas/deftship-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server