Skip to main content
Glama

独行录 / opcmenu

确认后发布组织提案活动

create_organization_proposal_activity

登录/对外发布;preview=true展示全文/时间/地点/闭门受众/受邀名单,确认后同activity/signup/excludeUserIds+previewHash、preview=false发布;预览变化须重确认。正式activity schema,线下须地点;signup仅平台托管。受邀人从当前可见提案重取,不得注入;云用户发布后另邀。默认不通知,仅notifyInvitees=true通知真人。同事务置提案CONVERTED并关联活动,禁通用草稿替代;已转换返回原活动,不重建。

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": {
      "organizationId": "<organizationId>",
      "proposalId": "<proposalId>",
      "activity": "<activity>"
    },
    "name": "create_organization_proposal_activity"
  }
}

Input Schema

NameRequiredDescriptionDefault
signupNo
previewNo默认 true 仅预览;用户确认后才传 false 执行
activityYes
proposalIdYeslist_organization_proposals 返回的提案 id
previewHashNo执行时必须传最新预览的 previewHash;参与人或内容有变化会要求重新确认
guestUserIdsNo
appActivationNo
excludeUserIdsNo
notifyInviteesNo
organizationIdYes组织或联盟空间的组织 id

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / activity / properties / ticketTypes / items / properties / priceCents / minimum
      Previous value: -1New value: +0
  2. Changed1 schema field changed
    • addedInput schema / properties / guestUserIds
      Added value: +{
      +  "items": {
      +    "maxLength": 100,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "maxItems": 30,
      +  "type": "array"
      +}
  3. Changed1 schema field changed
    • addedInput schema / properties / activity / 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"
      +}
  4. Changed1 schema field changed
    • addedInput schema / properties / activity / properties / locationVisibility
      Added value: +{
      +  "enum": [
      +    "PUBLIC",
      +    "REGISTERED"
      +  ],
      +  "type": "string"
      +}
  5. Changed1 schema field changed
    • addedInput schema / properties / activity / properties / venueId
      Added value: +{
      +  "anyOf": [
      +    {
      +      "anyOf": [
      +        {
      +          "not": {}
      +        },
      +        {
      +          "maxLength": 64,
      +          "minLength": 1,
      +          "type": "string"
      +        }
      +      ]
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
  6. Changed3 schema fields changed
    • addedInput schema / properties / activity / properties / allowAnnualPassUpgrade
      Added value: +{
      +  "const": false,
      +  "type": "boolean"
      +}
    • addedInput schema / properties / activity / properties / annualPassPriceCents
      Added value: +{
      +  "anyOf": [
      +    {
      +      "anyOf": [
      +        {
      +          "not": {}
      +        },
      +        {
      +          "maximum": 100000000,
      +          "minimum": 1,
      +          "type": "integer"
      +        }
      +      ]
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedInput schema / properties / activity / properties / priceCents
      Added value: +{
      +  "maximum": 100000000,
      +  "minimum": 0,
      +  "type": "integer"
      +}
  7. Changed1 schema field changed
    • addedInput schema / properties / activity / properties / memberMatchingEnabled
      Added value: +{
      +  "type": "boolean"
      +}
  8. Changed1 schema field changed
    • changedInput schema / properties / excludeUserIds / maxItems
      Previous value: -60New value: +100
  9. Added

TDQS

A4.1/5.0
Behavior4/5

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

The only annotation is destructiveHint=false, so the description has to carry the behavioral load, and it does: it discloses the transactional side effect (proposal set to CONVERTED and linked to the new activity), the idempotent already-converted path, the preview-hash invalidation rule, and the notification default (silent unless notifyInvitees=true). It does not cover permission/authorization requirements or the shape of the returned object, which keeps it below the top score.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Very dense and telegraphic: workflow, invariants, and parameter rules are chained together with semicolons, so the confirmation sequence is not front-loaded ahead of the constraints. Nothing is strictly wasted, but the cryptic opening fragment and the lack of grouping make a single pass harder than it needs to be for a high-stakes two-call workflow.

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

Completeness4/5

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

For a 10-parameter mutation with nested activity/signup objects and no output schema, the description covers the sequence, the prerequisites (invitees from the visible proposal), the side effects, and the notification default. Gaps remain around permissions, whether the response is the created activity, and how ticketTypes/capacity interact with signup, but nothing essential for a correct call is missing.

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?

With only 40% schema description coverage across 10 parameters, the description compensates well: it fixes the meaning of preview and previewHash in the call sequence, explains what excludeUserIds does (removing invitees, with ids taken from the visible proposal), and clarifies that notifyInvitees only messages real people. It also adds constraints the schema cannot express (offline activities require a location, signup is platform-hosted only). guestUserIds and appActivation, however, are never mentioned by name.

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 core verb is identifiable: preview and then publish (预览/发布) an activity derived from an organization proposal, with the proposal converted on success. The opening fragment "登录/对外发布" is cryptic and adds ambiguity, and the resource relationship (proposal → activity) is only implicit in "同事务置提案CONVERTED并关联活动", but an agent can still tell this apart from the draft-reading and generic create siblings.

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 spells out the two-phase protocol explicitly: preview=true first, then a second call with activity/signup/excludeUserIds plus previewHash and preview=false, with mandatory re-confirmation if the preview changed. It also gives real exclusions and alternatives: do not inject invitee ids (re-fetch from the visible proposal), do not substitute a generic draft (禁通用草稿替代), and an already-converted proposal returns the original activity rather than rebuilding one.

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