Skip to main content
Glama

Estimate Kash personal vouchers

personal_voucher_quote
Read-onlyIdempotent

Simulate the eligible personal vouchers and their discount for a customer’s cart.

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

Input Schema

NameRequiredDescriptionDefault
cartYes
voucher_idNo
customer_idYesKash customer ID.

Output Schema

NameRequiredDescriptionDefault
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The word 'Simulate' reinforces that nothing is committed, but the description does not say whether eligibility is evaluated against live voucher state, whether the call can fail for unsupported cart contexts, or what 'eligible' excludes.

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?

A single front-loaded sentence with no filler, naming the action, the object and the input scope. Nothing is wasted and the key qualifier ('eligible') comes early.

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?

An output schema exists, so return values need no prose, and the annotations cover mutation safety. Given the narrow quoting scope and nested cart handled by the schema, the description supplies enough for correct invocation, though richer parameter notes would help.

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 only 33%, so the description bears more weight than usual. It maps loosely onto the three parameters (customer, cart, vouchers), but never explains what voucher_id does — whether it restricts the quote to a specific voucher — nor clarifies the cart context or variant handling documented only in the schema.

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'), resource ('eligible personal vouchers and their discount') and scope ('a customer's cart'), which is enough to separate it from personal_voucher_issue and personal_voucher_list. It stops short of explicitly naming those siblings, so the reader must infer that 'simulate' means no voucher is actually issued.

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?

Usage is only implied: 'simulate' suggests a preview step before issuing, but the description never says when to call this versus personal_voucher_issue or coupon_check, nor does it state prerequisites. An agent can guess the intent but gets no explicit routing rule.

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