Skip to main content
Glama

独行录 / opcmenu

主办方:收场

end_live_session
DestructiveIdempotent

【需要登录】【何时用】播完了,主持人人在现场手上没电脑。收场前必须跟用户确认「现在就结束这场直播」。 【组合链】get_organizer_live 确认是这一场 → 本工具 → 稍后再读一次看 hasRecord(录制文件回调有延迟)。 【口径/坑】① 收场不可逆:观众端直播间立即关闭,这一场再也开不回来,要再播只能新建场次。② 已经收过再调一次是 no-op,不报错。③ 收场当下通常还没有回放,hasRecord=false 不代表没录上。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
liveIdYes直播场次 id,来自 get_organizer_live
activityRefYes活动 slug 或 id(get_activity / get_signup_activity 两者都给)

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?

Annotations declare destructive/idempotent/openWorld, and the description adds rich context beyond them: the action is irreversible (audience room closes immediately, session can never be reopened, a new session is required to broadcast again), repeat calls are a silent no-op, and hasRecord=false at end-time does not mean recording failed due to callback delay.

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?

Organized into 【何时用】【组合链】【口径/坑】 sections that are front-loaded and each sentence carries actionable content (login requirement, confirmation rule, chaining, three pitfalls). No filler despite the density.

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?

With no output schema, the description compensates by explaining the post-call verification step (re-read for hasRecord) and the callback-delay nuance. Auth requirement, irreversibility, and idempotency are all covered, so an agent has everything needed to call it correctly and safely.

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 100%, so liveId and activityRef are already documented in the schema. The description only indirectly references liveId via the get_organizer_live chaining step and adds no new parameter syntax or meaning. Baseline 3 applies.

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 makes clear this ends a live session (收场 / 结束这场直播), a specific verb+resource, and the name reinforces it. It does not explicitly name a sibling like start_live_session to differentiate, but the action is unambiguous.

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?

Gives an explicit usage scenario (broadcast finished, host on-site without a computer), a mandatory precondition (must confirm 'end this livestream now' with the user first), and an exact chaining recipe (get_organizer_live → this tool → re-read for hasRecord). Nothing is left to inference.

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