Skip to main content
Glama

Loyalty points balance

get_loyalty_points
Read-onlyIdempotent

The signed-in customer's Trisport loyalty points: available balance, its value in RON, and points still pending.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_loyalty_points"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/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 description need not restate safety. It does add genuinely useful context beyond them: the operation is implicitly scoped to the signed-in customer (no user parameter), and it discloses the shape of the payload (balance, RON conversion, pending points) that annotations cannot convey.

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. The colon structure puts the resource first and the returned fields after, so an agent can stop reading once it confirms relevance.

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?

With no output schema, the description carries the return-value burden and does list the three returned data points, which is enough for an agent to know whether to call it. A minor gap remains: it does not say what happens when the customer has no loyalty account (empty balance, error, or zero).

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

Parameters4/5

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

The tool takes zero parameters, so there is nothing for the description to disambiguate; the description correctly frames the call as needing no arguments because identity is taken from the session.

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?

The description names the exact resource (the signed-in customer's Trisport loyalty points) and enumerates the three components returned: available balance, RON value, and pending points. No sibling tool covers loyalty data, so the agent can tell instantly that this is the one to call for a points balance.

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?

Implicit usage is clear from the scope (the signed-in customer's own balance), but there is no explicit when-to-use or when-not-to-use statement, and no alternatives are named. In this sibling set none is needed, since nothing else exposes loyalty data, but the definition itself does not state that.

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