Skip to main content
Glama

create_personalized_offer

Create a personalized offer for a specific customer. Use when analytics reveal engagement patterns (e.g., inactive customers, high-value segments).

Input Schema

NameRequiredDescriptionDefault
titleYesOffer title (e.g., 'Welcome back! 20% bonus tokens')
valid_daysNoHow many days the offer is valid (default: 7)
descriptionNoOffer description
bonus_tokensNoBonus tokens to award
token_addressYesToken contract address
customer_addressYesCustomer wallet address
discount_percentageNoDiscount percentage (0-100)

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?

Annotations already establish that this is a non-read-only, non-destructive operation. The description adds no behavioral context beyond that: it does not say whether the offer is immediately sent, whether it is idempotent, how bonus tokens or discounts are funded, or what side effects occur.

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?

Two short sentences, front-loaded with the action and followed by the triggering condition. There is no filler or repetition.

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?

This is a mutation tool with seven parameters and no output schema. The description does not explain what is returned, whether the offer is delivered to the customer, or how the optional incentive fields interact, leaving meaningful gaps for correct invocation.

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 seven parameters are documented in the schema itself. The description adds only that the offer targets a specific customer, without clarifying relationships such as whether bonus_tokens and discount_percentage are mutually exclusive or both optional.

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 personalized offer') and scopes it to 'a specific customer'. It is clear but does not explicitly distinguish this tool from nearby siblings like create_reward or create_gift_certificate.

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?

It gives a clear usage context: 'Use when analytics reveal engagement patterns (e.g., inactive customers, high-value segments).' That is helpful guidance, but it does not name when not to use it or point to alternative tools for adjacent cases.

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