Skip to main content
Glama

独行录 / opcmenu

主办方:管理组织票务与线上参会设置

update_organizer_ticketing
Idempotent

登录/组织活动主办方;先get_organizer_ticketing并逐项确认,省略不改。票价在发布时冻结,不能改priceCents/annualPassPriceCents;活动结束后可切换allowAnnualPassUpgrade,补差由服务端计算。仅官方活动可修改onlineEnabled,关闭会影响直播与线上参会。

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": {
      "activityRef": "<activityRef>"
    },
    "name": "update_organizer_ticketing"
  }
}

Input Schema

NameRequiredDescriptionDefault
priceCentsNo
ticketNoteNo
activityRefYes活动 slug 或 id(get_activity / get_signup_activity 两者都给)
ticketTypesNo
onlineEnabledNo
listPriceCentsNo
seatsPerTicketNo
ticketContactUrlNo
ticketContactQrUrlNo
annualPassPriceCentsNo
grantsAnnualPassDaysNo
allowAnnualPassUpgradeNo
annualPassUpgradePriceCentsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / ticketTypes / items / properties / priceCents / minimum
      Previous value: -1New value: +0
  2. Changed1 schema field changed
    • addedInput schema / properties / ticketTypes
      Added value: +{
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "capacity": {
      +        "anyOf": [
      +          {
      +            "maximum": 100000,
      +            "minimum": 1,
      +            "type": "integer"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null
      +      },
      +      "id": {
      +        "pattern": "^[a-zA-Z0-9_-]{1,80}$",
      +        "type": "string"
      +      },
      +      "name": {
      +        "maxLength": 40,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "priceCents": {
      +        "maximum": 100000000,
      +        "minimum": 1,
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "name",
      +      "priceCents"
      +    ],
      +    "type": "object"
      +  },
      +  "maxItems": 10,
      +  "type": "array"
      +}
  3. Changed1 schema field changed
    • addedInput schema / properties / allowAnnualPassUpgrade
      Added value: +{
      +  "type": "boolean"
      +}
  4. Changed2 schema fields changed
    • addedInput schema / properties / annualPassPriceCents
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maximum": 100000000,
      +      "minimum": 1,
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedInput schema / properties / annualPassUpgradePriceCents
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maximum": 100000000,
      +      "minimum": 1,
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
  5. Added

TDQS

A4/5.0
Behavior4/5

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

With only idempotentHint supplied, the description carries real behavioral weight: post-publish price freezing, server-side proration for annual-pass upgrades, post-event-only toggling of allowAnnualPassUpgrade, and official-activity-only restriction on onlineEnabled. It does not cover failure modes, permissions beyond 'organizer', or what the response contains, so it is strong but not exhaustive.

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?

The description is dense but nearly filler-free, and the most important operational rule (read first, omit unchanged) is front-loaded. It reads as one run-on paragraph mixing workflow, freeze rules, and conditional permissions, so scannability suffers slightly, but no sentence is wasted.

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?

For a 13-parameter mutation tool with 8% schema coverage and no output schema, the description covers the highest-risk constraints well but leaves the majority of parameters without any explanation. An agent could invoke it correctly for price and online settings but would be guessing on ticketTypes structure, capacity, seat counts, and contact fields.

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 only 8%, yet the description explains just four of thirteen parameters (priceCents, annualPassPriceCents, allowAnnualPassUpgrade, onlineEnabled) — albeit with valuable semantics the schema lacks, such as the post-publish freeze and server-calculated proration. Complex fields like ticketTypes, capacity, seatsPerTicket, listPriceCents, grantsAnnualPassDays, and the contact URL fields remain undocumented in both places.

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 makes clear this tool modifies an organizer's ticketing/online-attendance configuration, and it names the read counterpart get_organizer_ticketing as a required precursor. It stops short of a single explicit 'updates ticketing settings' statement up front, opening instead with the login/prerequisite clause, but the resource and effect are still unmistakable.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives an explicit workflow: call get_organizer_ticketing first, confirm each item, and leave omitted fields unchanged (partial update). It also supplies clear when-not conditions — prices are frozen after publish and only official activities may toggle onlineEnabled — plus the consequence of getting onlineEnabled wrong (live streaming and online attendance are affected).

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