Skip to main content
Glama

独行录 / opcmenu

在本场直播提问或发弹幕

post_live_message

【需登录及受众权限】先get_activity核对liveId,完整展示text、kind和本场范围并确认。QUESTION可能上大屏,DANMAKU广播本场观众,发言无法收回;只发已确认原文,不加联系方式/推测。服务压平空白并审核,弹幕可能事后隐藏。结束/禁言不可发。非幂等,未知失败先export_live_messages核验,禁止自动重试;不提供播放/推流。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindYes用户确认的发言形式:QUESTION 提问(可能上现场大屏)或 DANMAKU 本场观众弹幕;必须明确选择
textYes先完整展示并获用户确认的发言全文,最多 200 字
liveIdYes要发言或管理的直播场次 id,从 get_activity 或 get_organizer_live 取得并给用户确认

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations, it discloses that messages cannot be retracted, that the service flattens whitespace and applies moderation, that DANMAKU may be hidden after the fact, and that login plus audience permission are required. These are real behavioral traits (irreversibility, moderation, auth) that the readOnly/idempotent/destructive hints alone do not convey. The non-idempotency claim is consistent with idempotentHint=false.

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 single dense paragraph is front-loaded with the login/permission requirement and packs only operative facts (prerequisites, modes, moderation, failure handling, exclusions). No sentence is filler, though the run-on severity of some clauses costs a point against ideal clarity.

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 3-parameter, open-world, non-idempotent mutation tool with no output schema, the description covers auth, prerequisites, side effects, moderation, irreversibility, failure recovery and out-of-scope behavior. Nothing an agent needs before calling it appears to be 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 parameters are already documented; per the rubric that sets a baseline of 3. The description goes further by adding content-policy semantics ('only send the confirmed original text, no contact info/speculation') and by framing kind as a user-confirmed choice between QUESTION and DANMAKU, which enriches how the parameters should be populated.

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 names the concrete action (post a live-session message) and splits it into two modes, QUESTION (may appear on the on-site screen) and DANMAKU (broadcast to the current session audience). This distinguishes it from sibling read/manage tools like hide_live_message and export_live_messages, though it never states the purpose in one clean front-loaded verb+resource sentence.

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 gives explicit prerequisites and routing: call get_activity first to verify liveId, and it names the exclusion (cannot post when the session has ended or the user is muted). It also routes explicitly on failure ('unknown failure, first verify via export_live_messages, no auto-retry') and states a negative scope ('does not provide playback/streaming').

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