Skip to main content
Glama

update_program_config

Update default cashback_rate and/or points_per_dollar for a program (same as merchant dashboard sliders)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cashback_rateNoNew default cashback % for earn (1–100). Omit to leave unchanged.
token_addressYesToken contract address (0x...)
points_per_dollarNoNew points per $1 (0–1000, exclusive 0). Omit to leave unchanged.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Since no annotations are provided, the description carries the full burden. It discloses that the tool updates the default values, but it does not mention side effects, permission requirements, or whether existing transactions are affected. The dashboard slider analogy adds some context, but important behavioral traits remain unspecified.

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?

The description is one short sentence that conveys the purpose and a useful analogy. No fluff; every word earns its place.

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 relatively simple config-update tool with a complete schema and no output schema, the description provides enough to understand the operation. It lacks explicit usage exclusions and some behavioral details, which are minor gaps given the tool's simplicity.

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?

The input schema already describes all three parameters with high coverage (100%), so the description doesn't need to repeat them. The description mentions the two optional parameters by name but adds no new semantic detail beyond the schema's existing descriptions of 'default' values.

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 clearly states 'Update default cashback_rate and/or points_per_dollar' with a specific verb and resource, and the parenthetical 'same as merchant dashboard sliders' adds user context. This distinguishes it from sibling tools like update_program_status and create_loyalty_program.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

The description provides clear context that this tool modifies program config defaults, and the 'same as merchant dashboard sliders' analogy helps understand the intended use case. However, it does not explicitly contrast with alternatives like update_program_status, so it lacks explicit when/when-not guidance.

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.