Skip to main content
Glama

独行录 / opcmenu

邀请匹配对象参加活动

invite_organization_match_pair_to_activity

【需要登录】APP发站内邀请,SMS发短信,MANUAL生成专属链接并授予活动可见;不返手机号。【组合链】详情channels+可邀请活动→preview核对活动/名单/渠道→用户确认→原参数+previewHash、preview=false;失败不换渠道。

Input Schema

NameRequiredDescriptionDefault
pairIdYesuserId:userId,非提案id
previewNo默认true预览;确认对象及全文后false执行
activityIdYes
recipientsYes
previewHashNo最新预览hash;名单/内容变更需重确认
organizationIdYes组织 id

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / pairId / description
      Previous value: -"匹配列表的 id(两人 userId 以冒号连接),不是提案 id"New value: +"userId:userId,非提案id"
    • changedInput schema / properties / preview / description
      Previous value: -"缺省 true=只核对;确认对象和内容后显式 false 才执行"New value: +"默认true预览;确认对象及全文后false执行"
    • changedInput schema / properties / previewHash / description
      Previous value: -"执行需带最新预览的 hash;名单或内容变更须重新确认"New value: +"最新预览hash;名单/内容变更需重确认"
  2. Changed1 schema field changed
    • addedInput schema / properties / recipients / items / properties / resend
      Added value: +{
      +  "type": "boolean"
      +}
  3. Added

TDQS

A4.2/5.0
Behavior5/5

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

Annotations only supply destructiveHint=false, yet the description discloses login requirement, the distinct effect of each channel (MANUAL grants activity visibility via a generated link), that the tool does not return phone numbers, that previewHash must be refreshed when the list or content changes, and that a failed send must not be retried on another channel. That is materially more than the annotation covers for an externally visible invitation action.

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?

Front-loaded with the login gate, then channel semantics, then the preview/confirm workflow. Dense but every clause carries operational information; the bracketed 【组合链】 shorthand is terse and slightly harder to parse than prose.

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 6-parameter mutation with no output schema, the description covers the prerequisite, the two-step preview confirmation flow, and failure handling. Minor gaps remain around returned preview fields and rate limits, but nothing critical to invoking correctly is absent.

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?

Schema coverage is 67% and the schema leaves channel undescribed; the description supplies the semantics of APP/SMS/MANUAL and explains exactly how preview and previewHash are used together. It does not explain resend or the recipients list limits (max 6).

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?

States a specific verb+resource: 发站内邀请/发短信 for matching pairs (匹配对象) to an activity, and names the three delivery channels. It never explicitly disambiguates from near-siblings such as invite_organization_meetup_to_activity or send_activity_ledger_invitations, so the agent must rely on the tool name to pick this one.

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?

The 【组合链】 segment gives an explicit procedure: obtain channels + invitable activities, call with preview to verify activity/list/channel, then get user confirmation, then re-call with the original params plus previewHash and preview=false. Missing is any statement of when this tool is the wrong choice versus the sibling invite tools.

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