Skip to main content
Glama

Update Promo Profile

update_promo_profile
Idempotent

Edit a discount profile — change tiers, name, max uses, schedule, or enabled state. When a discount-config field changes, every linked promo code is re-stamped to match. Requires event_id + profile_id + at least one field; you must be a host.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tiersNo
enabledNo
event_idYes
max_usesNo
starts_atNo
expires_atNo
profile_idYes
profile_nameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / properties / tiers / additionalProperties / properties / discount_value / exclusiveMinimum
      Removed value: -0
    • addedInput schema / properties / tiers / additionalProperties / properties / discount_value / minimum
      Added value: +0
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations indicate readOnlyHint=false and destructiveHint=false, and the description adds critical behavioral info: 'When a discount-config field changes, every linked promo code is re-stamped to match.' It also states the authorization requirement. This goes beyond the annotations to reveal side effects.

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 concise sentences deliver purpose, editable fields, side effect, and requirements without repetition. Every sentence adds value, and the description is front-loaded with the primary action.

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?

With 8 parameters, nested objects, and no output schema, the description lacks information about the response (e.g., what is returned after update). It covers side effects and requirements but leaves the return behavior unspecified, which is a gap for a mutation tool.

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 0%, so the description must compensate. It enumerates high-level fields (tiers, name, max uses, schedule, enabled) but does not detail the structure of the 'tiers' nested object or the exact role of 'schedule' (mapping to starts_at and expires_at). Partial mapping to 8 parameters with missing specifics.

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 clearly states the verb 'Edit' and the resource 'discount profile', and lists specific fields that can be changed (tiers, name, max uses, schedule, enabled state). It does not explicitly differentiate from sibling tools like create_promo_profile or update_promo_code, but the action is distinct enough.

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 specifies required parameters (event_id, profile_id) and authorization (must be host). It implies when to use (updating an existing profile) but does not provide explicit when-not-to-use guidance or mention alternatives. The conditions are clear but not comprehensive.

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.