Skip to main content
Glama

Estimate Kash loyalty for a cart

loyalty_quote
Read-onlyIdempotent

Simulate points earned and applicable rewards for a cart and optional customer.

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": {
      "cart": "<cart>"
    },
    "name": "loyalty_quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
cartYes
customer_idNoKash customer ID.

Output Schema

NameRequiredDescriptionDefault
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is fully covered without help from the description. The word 'Simulate' reinforces that this is a side-effect-free estimate, but nothing is said about failure modes (e.g. contexts Kash refuses to quote) or fidelity of the estimate; an output schema exists, so return shape needs no explanation.

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 action and scope come first. It is efficient, though its brevity is partly the cause of the missing usage and parameter detail.

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 annotations covering safety and an output schema covering returns, the remaining burden is routing and parameter meaning, and the description is thin on both. For a nested-cart simulation tool with overlapping siblings, it is only minimally adequate.

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

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 50%, so the description should compensate, yet it adds no meaning about the cart's nested lines, quantity semantics, variant selection, or the context enum default. It only restates that a customer is optional, which is already derivable from the required-parameters list, leaving roughly half the parameter surface undocumented anywhere.

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 ('Simulate') plus the resource ('points earned and applicable rewards') and the scope ('a cart and optional customer'), which is concrete enough to select the tool. It does not name or distinguish itself from the closely related calculate_cart or personal_voucher_quote siblings, so differentiation is left 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 Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance, and no alternative is named despite siblings like calculate_cart and personal_voucher_quote occupying adjacent territory. The only usage signal is the implied 'simulate = non-committing estimate' connotation, which the agent must infer.

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