Skip to main content
Glama

create_reward

Create a new reward redeemable with loyalty tokens

Input 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

C2.9/5.0
Behavior2/5

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

Annotations declare readOnlyHint=false and destructiveHint=false, so the safety profile is known, but the description adds nothing about behavior: no mention of required permissions, whether the reward is immediately active or needs update_reward_status, whether duplicate names are allowed, or whether the operation is idempotent. For a creation mutation with only safety annotations, this is thin.

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?

A single front-loaded sentence with no wasted words. It is appropriately sized, though its brevity is part of the completeness gap rather than a virtue on its own.

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?

No output schema exists, and the description says nothing about what is returned (reward ID, status) or which loyalty program/token context the reward attaches to. For a mutation tool with four parameters, the definition leaves the agent under-informed about prerequisites and results.

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%, so all four parameters (cost, name, description, token_address) are already documented in the schema. The description adds no extra semantics such as token address format, valid cost ranges, or whether description is optional. Baseline 3 applies.

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?

The description states a specific verb and resource ("Create a new reward") and adds the redeemability constraint ("redeemable with loyalty tokens"), which separates it from redeem_reward, list_rewards and update_reward_status. It stops short of naming a sibling explicitly, so it is clear but not strongly differentiated.

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?

There is no statement about when to call this versus redeem_reward or create_gift_certificate, nor any prerequisite such as needing an active loyalty program or registered token. Usage is only implied by the verb.

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