Skip to main content
Glama

Create addon

create_addon

[REQUIRES HUMAN APPROVAL] Add an event extra, such as merchandise or parking, using its attributes. Returns the add-on API response. Use list_addons to review existing extras first.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "attributes": "<attributes>"
    },
    "name": "create_addon"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNo[REQUIRES HUMAN APPROVAL] Pass `true` to execute. This is a programmatic backstop to the description tag. Destructive tools also require your approval through the client.
eventIdNoEvent ID. Defaults to active event.
attributesYesAdd-on attributes, passed to the API as they are. `name` (string), `price` (integer, MINOR units: 1250 means 12.50), `stock` (integer, how many are on sale; null for unlimited), `description` (string), `active` (boolean), `maxQuantity`, `limitPerTicket`, `flagLimitToTicketQuantity`, and `currencies` (`[{currency, faceValue}]`, faceValue in minor units too, one entry per additional currency the event sells in, or the API refuses the call naming the ones that have no price). The API drops a key it does not know, so a misspelling goes through and does nothing: `quantity` is not `stock`.
idempotencyKeyNoReuse the same key to replay a recorded successful request; use a new key for a different change.

Output Schema

NameRequiredDescriptionDefault
idNoAdd-on identifier.
nameNoAdd-on name.
typeNoResource type.
resultNoThe API result when it is a list, scalar or null rather than an object.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "id": {
      +      "description": "Add-on identifier.",
      +      "type": [
      +        "string",
      +        "integer",
      +        "null"
      +      ]
      +    },
      +    "name": {
      +      "description": "Add-on name.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "result": {
      +      "description": "The API result when it is a list, scalar or null rather than an object."
      +    },
      +    "type": {
      +      "description": "Resource type.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    }
      +  },
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / idempotencyKey / description
      Added value: +"Reuse the same key to replay a recorded successful request; use a new key for a different change."
  3. Added

TDQS

A4.3/5.0
Behavior4/5

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

Beyond the annotations that mark it as a non-destructive write, the description adds a significant operational constraint: '[REQUIRES HUMAN APPROVAL]', and it states the tool returns the add-on API response. It does not describe side effects or errors in the description itself, but the annotations and schema cover the remaining safety and parameter behavior.

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?

Three short sentences, approval and purpose are front-loaded, and the list_addons guidance follows without filler. The return sentence is low-cost and the description remains easy to scan.

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

Completeness5/5

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

For a create/mutation tool with 100% schema coverage and an output schema, the description supplies the key non-schema context: human approval, return behavior, and the recommended review step. Nothing essential to calling it correctly is missing.

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 the schema already explains attributes, minor units, confirm, eventId, idempotencyKey, and the unknown-key behavior. The description adds only 'using its attributes' and examples of extras, so it does not add meaningful parameter semantics beyond the schema.

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 a specific verb ('Add') and resource ('event extra'), with concrete examples (merchandise or parking), so the agent knows this creates a new add-on rather than listing or updating one. It also points to list_addons for existing extras, reinforcing the distinction.

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 pre-use step ('Use list_addons to review existing extras first'), but stops short of explicitly naming update_addon for modifying an existing add-on or stating when this tool should not be used. Adequate context, not exhaustive routing.

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