Skip to main content
Glama

独行录 / opcmenu

写我的自动开场语

set_my_chat_opener
Idempotent

【需要登录】【何时用】这是纯文案活,正是 agent 最该替用户干的事:读一遍他的「我能提供什么」和产品,替他写一句像真人说的开场白。

【这句话会自动发出去】别人点「找 TA 聊聊」时,服务端会替你自动发出这一句作为第一条消息(只在新建会话时发一次,不会刷屏)。所以它是一条自动广播通道,不是一条普通私信。

【怎么写】朴素、具体、不做当场能被戳穿的断言。三条硬规矩:① 不写「我懂你想要什么」这类你按按钮那刻根本不知道的话,对方回一句「那你说说」就穿帮;② 不用对仗押韵金句——顺口正是模板和 AI 文案的指纹;③ 说清「我从哪儿看到你的」,这是真的、可验证的,也天然给了对方话头。不许出现任何「我是 AI 助手 / 自动发送」之类的标识(产品口径:这就是他本人说的第一句话)。

【组合链】get_my_card(读 canOffer / 产品)→ 本工具写 → get_my_chat_opener 复核 → 之后 start_conversation 开的每个新会话都会自动带上它。传 null 或空串 = 恢复全站默认。

【口径/坑】 · 上限 120 字,超了报 chat_opener_too_long(400,终态,改短再提)。 · 不许夹联系方式和外链:手机号 / 微信号 / QQ / 邮箱 / http 链接一律拒(chat_opener_has_contact)。这是自动广播面,放开就成了「加我微信卖课」的免费群发口。要换联系方式走双同意的 request_contact_exchange。 · 过敏感词闸(与私信同一把尺),命中报 content_rejected(400,终态,换写法,别原样重试)。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
openerYes自定义开场语;传 null 或空串 = 恢复全站默认。最长 120 字

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

The description reveals critical behavior not visible in annotations: the opener is automatically broadcast as the first message in every new conversation, and only once per new session. It also discloses content restrictions (no AI/auto-send markers, no contact links, sensitive-word filtering), maximum length, and terminal error codes. No contradiction with annotations; idempotentHint and openWorldHint align with the described semantics.

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

Conciseness5/5

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

Though long, the description is tightly organized with clear headers and every section carries operational value. The most important behavior (auto-send, broadcast nature) and hard constraints are front-loaded, and there is no filler or repetition.

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

Completeness5/5

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

For a one-parameter setter with no output schema, the description supplies complete context: prerequisites and composition chain, side effects, reset behavior via null/empty, validation limits, error handling, and content policy. Nothing an agent needs to call this correctly 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?

Schema coverage is 100%, so the baseline is 3. The description goes beyond the schema by providing substantive content rules for the opener value: be concrete, avoid unverifiable claims, avoid template-sounding phrases, mention where you saw the user, and never include AI disclaimers or contact info. This materially helps the agent construct a valid, high-quality parameter value.

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?

The description clearly states the tool's function: writing a personalized automatic opener that is sent as the first message when someone starts a conversation with the user. It differentiates this from get_my_chat_opener (reviewing the current opener) and frames it as a copywriting task, not a generic setter.

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?

A dedicated '何时用' section explicitly identifies this as a pure copywriting task the agent should perform. The composition chain (get_my_card → set_my_chat_opener → get_my_chat_opener → start_conversation) gives clear workflow guidance, and the description routes contact-information requests to request_contact_exchange, providing an explicit alternative.

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.

TDQS

A4.1/5.0
Disambiguation4/5

Each tool has a clearly documented purpose, often with explicit 'when to use' guidance and cross-references, making the vast majority easy to tell apart. A few clusters (get_my_brief, get_my_positioning, get_my_work, get_my_dispatch) and data-overlapping get_my_card vs get_my_profile require careful reading, but descriptions are detailed enough to prevent serious misselection.

Naming Consistency4/5

The overwhelming majority follow snake_case verb_noun conventions (create_product, update_need, list_my_signups). Minor deviations include noun-only feed names (personalized_feed, random_feed), inconsistency between 'prefs' and 'preferences' in notification tools, and a mix of update_* and set_* for mutations, but the pattern remains predictable overall.

Tool Count1/5

137 tools is an extreme mismatch for any MCP server, far exceeding the 50+ threshold for a score of 1. Even with a broad multi-domain platform, this volume makes tool selection and navigation impractical and heavily burdens the agent's context window.

Completeness5/5

The surface covers full lifecycles for needs, products, activities/signups, conversations, collaboration goals/tasks, dispatch, profile/onboarding, and supporting resources like companies, parks, policies, and ratings. Deliberate omissions (no user-post creation, no organizer profile editing via agent) are explicitly documented, so core workflows have no obvious dead ends.

Resources