Skip to main content
Glama

Read Kash loyalty account

loyalty_get_account
Read-onlyIdempotent

Read the customer’s Kash loyalty balance and available rewards.

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

Input Schema

NameRequiredDescriptionDefault
customer_idYesKash customer ID.

Output Schema

NameRequiredDescriptionDefault
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so the safety profile is fully covered and the description does not contradict it. The description adds no behavioral context beyond that: nothing about what happens for a customer not enrolled in the loyalty program, whether pending points are included, or any auth/scope requirement.

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?

One short sentence with the resource front-loaded after the verb, and no filler or repetition. Nothing in it is redundant with the schema or annotations.

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?

An output schema exists, so return values need not be explained, and the annotation set covers safety. However, for a lookup tool whose sibling set includes several loyalty endpoints, the definition omits the edge cases an agent would want (non-enrolled customer, empty rewards), leaving it merely adequate.

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?

There is a single required parameter and schema description coverage is 100%, with customer_id already documented as "Kash customer ID." The description only restates "the customer's" and adds no format, lookup, or error semantics beyond the schema, which is the expected baseline here.

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?

"Read the customer's Kash loyalty balance and available rewards" gives a specific verb (Read) and two concrete resources (balance, rewards), so an agent knows exactly what comes back. It does not explicitly contrast itself with loyalty_get_program, loyalty_list_movements, or loyalty_quote, so sibling differentiation is left to inference.

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 states what is returned but never says when to choose this tool over loyalty_list_movements (history), loyalty_get_program (program config), or loyalty_quote (points pricing). No exclusions, prerequisites, or alternative routing are given, so the agent must guess from tool names alone.

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