Skip to main content
Glama

独行录 / opcmenu

建或改嘉宾/观众邀请计划

set_guest_invite_plan

登录/主办方;配置数量/备选/节奏/过期/选人brief。SPEAKER初建后台找候选,get_activity_invites→update_guest_candidates复核名单→set_guest_invite_plan_status(start)才发。autoStart仅ATTENDEE,等于自动向陌生人私信;本人明确要求后须把对象/节奏/数量念给用户确认。SPEAKER必须人工start。brief省略多一次LLM,建议依据活动给≤600字。改brief仅作废运行中的生成并暂停SPEAKER;旧候选不删、不自动重找。新候选add_guest_candidates追加,起跑前核对speakers并显式剔除不要的人。

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>",
      "role": "<role>"
    },
    "name": "set_guest_invite_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
roleYes
briefNo
citiesNo
autoStartNo
cityScopeNo
activityRefYes活动 slug 或 id(list_my_activities / get_organizer_activity 的返回里都有)
backupCountNo
targetCountNo
inviteTtlHoursNo
intervalMinutesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / cities
      Added value: +{
      +  "items": {
      +    "maxLength": 40,
      +    "minLength": 2,
      +    "type": "string"
      +  },
      +  "maxItems": 10,
      +  "type": "array"
      +}
    • addedInput schema / properties / cityScope
      Added value: +{
      +  "enum": [
      +    "ACTIVITY_CITY",
      +    "CITIES",
      +    "NATIONWIDE"
      +  ],
      +  "type": "string"
      +}
  2. Added

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full disclosure burden and does well on side effects: autoStart amounts to unsolicited DMs to strangers and requires confirmation; SPEAKER must be manually started; editing brief only invalidates an in-flight generation and pauses SPEAKER, leaving old candidates intact with no automatic re-search; new candidates are appended via add_guest_candidates and should be pruned before start. It does not state the return payload, whether plan creation is reversible, or rate/permission limits beyond 'organizer login'.

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 definition is dense and front-loads the highest-risk constraint (organizer login, autoStart = auto-DM) before workflow ordering and edge cases. Nearly every clause carries operational information, but the telegraphic, semicolon-chained Chinese style makes it harder to parse than a structured bullet layout would be.

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 tool with no annotations and no output schema, the description covers the call sequence, the confirmation requirement, and the consequences of editing brief. Remaining gaps are the unexplained city/cityScope parameters and the absence of any statement about what the call returns or what happens on failure.

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 10% (only activityRef is documented), so the description must compensate for 10 parameters. It adds real meaning for brief (≤600 chars, skipping it costs an extra LLM pass), autoStart (ATTENDEE-only, auto-DM semantics), targetCount/backupCount (数量/备选), intervalMinutes (节奏) and inviteTtlHours (过期). However cities and cityScope — including the ACTIVITY_CITY/CITIES/NATIONWIDE enum — receive no explanation anywhere, leaving a meaningful gap.

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 conveys that this tool configures an invitation plan (count / backup / cadence / expiry / selection brief) under an organizer login, and the title adds the create-or-modify framing. It is distinguishable from siblings because it explicitly defers candidate search to get_activity_invites/update_guest_candidates and activation to set_guest_invite_plan_status. It loses a point for opening with a terse '登录/主办方;配置...' fragment rather than a clean verb+resource statement.

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?

Explicit routing is given: for SPEAKER, candidates are found in the backend via get_activity_invites, reviewed via update_guest_candidates, and only then started with set_guest_invite_plan_status(start). It states autoStart applies only to ATTENDEE, that SPEAKER must be started manually, and that autoStart requires an explicit user request plus reciting object/cadence/count for confirmation. This is when/when-not/alternative guidance at a high level.

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