Skip to main content
Glama

独行录 / opcmenu

邀请函:改内容

update_activity_letter

【需要登录·主办方】改邀请函的内容块或文体:content 只改给出的键(null = 清空),如 salutations(称呼名单)、agenda(流程)、hosts(组织单位)、contacts(联系人,没有邮箱字段)、closing(结语);style = OFFICIAL | BUSINESS | COMMUNITY,null = 回到自动推断。 【组合链】get_activity_letter 拿 version → 本工具 → render_activity_letter。 【口径/坑】只写用户本人说过的内容;落款只能是主办方署名或主办组织名,第三方机构写进 hosts。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
styleNoOFFICIAL 公函·发给单位 | BUSINESS 商务·公开推广 | COMMUNITY 社群·发到群里;null = 自动
contentNo{内容键: 值},值 null = 清空
versionYes读到的那一版的 version(乐观锁:别人改过就 409,重新读再改)
activityYes活动 id 或 slug(publish_activity_draft / list_my_activities 的返回里都有)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

With annotations declaring openWorldHint=true, idempotentHint=false, destructiveHint=false and readOnlyHint=false, the safety profile is partially covered. The description adds behavioral context the annotations do not: null clears individual content keys, signature may only be the organizer/org name (third parties go into hosts), and only user-stated content should be written. These are meaningful side-effect and constraint disclosures.

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?

Dense but front-loaded, using bracketed sections 【】 to separate behavior, chain, and pitfalls. Every sentence carries information (keys, enum values, lock semantics, constraints). Slightly terse for non-Chinese readers but not padded.

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 nested-object mutation tool with no output schema, the description covers the operation, the required read-before-write chain, the optimistic-lock 409 behavior, and content constraints. Little an agent needs to invoke it correctly is missing, though no return/response behavior is described.

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 100%, so baseline is 3, but the description adds real meaning beyond the schema: it enumerates the concrete content keys (salutations/agenda/hosts/contacts/closing) where the schema only says '{内容键: 值}', and it flags that contacts has no email field and that null clears a key. That is genuine value beyond structured fields.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource (改邀请函的内容块或文体 — modify the invitation letter's content blocks or style) and immediately distinguishes itself from siblings get_activity_letter and render_activity_letter. An agent can tell it apart without opening the schema.

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 【组合链】section gives an explicit workflow: get_activity_letter to get the version, then this tool, then render_activity_letter. Role gating (需要登录·主办方) is stated up front. It stops short of naming when-not-to-use cases, but the sequencing context is clear.

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