Skip to main content
Glama

独行录 / opcmenu

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

update_organizer_ticketing
DestructiveIdempotent

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

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / allowAnnualPassUpgrade
      Added value: +{
      +  "type": "boolean"
      +}
  2. 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"
      +    }
      +  ]
      +}
  3. Added

TDQS

A4.2/5.0
Behavior5/5

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

Beyond the annotations (destructive=true, idempotent=true, openWorld=true), the description discloses real side effects and state constraints: the price freeze at publish time, the post-activity gating of allowAnnualPassUpgrade with server-side difference calculation, and the fact that disabling onlineEnabled impacts live streaming and online attendance. It also adds the auth/role requirement, none of which is captured in structured fields.

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?

A single dense block, but it is front-loaded with the login/role tag and the read-first instruction, then the field-level constraints. Every sentence carries actionable content, though the packing of several rules into one paragraph slightly reduces scannability.

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 destructive 12-parameter mutation with no output schema, the description covers prerequisites and the most consequential constraints well, but eight parameters remain undocumented and no return/confirmation behavior is described. Adequate but with clear gaps given the schema's near-zero description coverage.

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% (only activityRef is documented), so the description carries the compensation burden. It explains constraints for four of twelve parameters (priceCents, annualPassPriceCents, allowAnnualPassUpgrade, onlineEnabled), but leaves the remaining eight (ticketNote, listPriceCents, seatsPerTicket, ticketContactUrl, ticketContactQrUrl, grantsAnnualPassDays, annualPassUpgradePriceCents, activityRef) without added meaning.

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+resource (updating organizer ticketing and online-attendance settings) and makes the partial-update semantics explicit with '省略不改' (omitted fields are not changed). It also names its read sibling get_organizer_ticketing as the required prerequisite, so an agent can distinguish it from the getter. It stops short of differentiating itself from the broader set of other update_* organizer tools.

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?

Gives explicit preconditions and sequencing: requires login and organizer role, and instructs to call get_organizer_ticketing first and confirm field-by-field before writing. It also states concrete when/when-not rules — prices are frozen at publish so priceCents/annualPassPriceCents cannot be changed, allowAnnualPassUpgrade only toggles after the activity ends, and onlineEnabled only applies to official activities.

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