Skip to main content
Glama

Programs

list_programs
Read-onlyIdempotent

Programs (stamp cards and points programs): id, name, rule (stamps needed and reward; for kind "points": the earn rate in minor units of the currency and the rewards catalog with point costs), branches, status and how many cards are in use.

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": "list_programs"
  }
}

Input Schema

NameRequiredDescriptionDefault
statusNoOnly programs with this status

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=false, and destructiveHint=false, so safety needs no restating. The description adds real value by disclosing the shape of each returned record, including the semantics of the 'rule' object and the point-cost catalog, which matters since there is no output schema. It omits pagination, result limits, and ordering.

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?

It is a single front-loaded sentence that puts the resource first and then the field list. The nested parenthetical for the points earn rate is dense but necessary to explain that field's units; nothing is padding, though it could be split for readability.

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?

For a read-only list tool with one optional filter, annotations and schema carry most of the burden, and the description fills the main remaining gap by explaining return contents in the absence of an output schema. It falls short only on result volume and pagination behavior.

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% and the single 'status' enum parameter is already fully documented in the schema, so the baseline is 3. The description mentions 'status' only as a returned field, which risks slight confusion with the filter parameter but adds no filtering syntax or semantics.

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?

It clearly identifies the resource as loyalty programs, distinguishing stamp cards from points programs, and enumerates the fields each record carries (id, name, rule, branches, status, card count). It never states a verb like 'list' or 'retrieve', so the operation must be inferred from the tool name, and no sibling is named for contrast.

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 offers no when-to-use guidance, no alternative routing, and no exclusions. With siblings like update_program, archive_program, and create_program present, an agent gets no help deciding that this is the read-only catalog view versus a mutation.

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