Skip to main content
Glama

gumroad_update_offer_code

Update the maximum number of times an offer code can be used for a product by specifying the product ID and offer code ID.

Instructions

Updates the max purchase count of an existing offer code for a product

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
product_idYesThe ID of the product this offer applies to
offer_code_idYesThe ID of the offer code to update
max_purchase_countNoMaximum number of times this offer can be used
Behavior2/5

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

No annotations are provided, so the description carries full responsibility. It only states the core function but does not disclose potential side effects (e.g., whether updating the count affects existing purchases or requires the offer code to be active). It lacks details on reversibility, authorization needs, or error cases.

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 sentence that immediately conveys the tool's purpose. It is concise, front-loaded with the verb, and contains no unnecessary words.

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

Completeness3/5

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

Given the tool's low complexity (3 parameters, no output schema, no nested objects), the description is minimally adequate. However, it could be improved by indicating what happens on success (e.g., returns updated offer code) or how errors are handled. No output schema is provided, so the description could briefly note the return type.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Despite 100% schema coverage, the description adds value by specifying that only the max_purchase_count is updated, which is not explicitly stated in the schema where all three parameters are listed. This clarifies the tool's scope and distinguishes it from a hypothetical general update tool.

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 the specific action: updating the max purchase count of an existing offer code. It uses a specific verb 'Updates' and a specific resource 'max purchase count of an existing offer code', which distinguishes it from sibling tools like create, delete, or get offer codes.

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 implies usage when you want to modify the max purchase count, but it does not provide explicit guidance on when to use this tool versus alternatives (e.g., creating a new offer code or deleting one). There is no mention of prerequisites or conditions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rmarescu/gumroad-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server