Skip to main content
Glama

create_reward

Create a new reward redeemable with loyalty tokens

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
costYesToken cost to redeem
nameYesReward name
descriptionNoReward description
token_addressYesToken contract address

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It states that the tool creates a reward but does not mention any side effects, prerequisites (e.g., an existing loyalty program), permission requirements, or whether the operation is reversible. This is a significant gap for a mutation tool.

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 a single, clear, front-loaded sentence with no redundant information. It earns its place by stating the core function in an efficient manner.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema and no annotations, the description should explain return behavior, prerequisites, and relation to other loyalty program entities. It only states the basic action, leaving out important context such as whether a loyalty program must already exist or what the response contains. The tool has 4 parameters and sits in a complex set of sibling tools, so this brevity is insufficient.

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 description coverage is 100%, with each parameter already documented (e.g., cost is 'Token cost to redeem'). The description adds no extra meaning beyond the schema; it merely restates the token-based redemption concept. Baseline 3 is appropriate since the schema does the heavy lifting.

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 uses the specific verb 'Create' with a clear resource ('reward') and a qualifying phrase ('redeemable with loyalty tokens') that distinguishes it from sibling tools like create_gift_certificate and create_personalized_offer. It precisely states the action and object.

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?

The description implicitly indicates when to use this tool (when creating a reward), but provides no explicit guidance on when not to use it or how it differs from similar creation tools such as create_gift_certificate or create_personalized_offer. The usage context is implied rather than clarified.

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.