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.7/5.0
Behavior5/5

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

Even with annotations marking destructiveHint and idempotentHint, the description adds concrete behavioral teeth: the viewer room closes immediately, the action cannot be undone, repeated calls are silent no-ops, and hasRecord=false at close time is not evidence of recording failure. This is exactly the kind of context annotations cannot convey.

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?

The description is compact, sectioned with clear labels (需要登录/何时用/组合链/口径/坑), and every clause carries operational value. No filler or redundant restatement of the schema.

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?

Despite having no output schema, the description covers login, when to invoke, the prerequisite confirmation, the composition chain, irreversibility, idempotence, and post-close recording semantics. An agent has everything needed to decide and call it correctly.

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 coverage is 100% and both parameters already carry clear provenance descriptions (liveId from get_organizer_live; activityRef from get_activity/get_signup_activity). The description restates the chain but adds little semantic value beyond the schema, so the baseline 3 applies.

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's opening '何时用' plus '收场' and '结束这场直播' makes clear this tool permanently ends an organizer's live session. The chain references get_organizer_live and contrasts with the obvious sibling start_live_session, so an agent can distinguish it without opening schemas.

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 explicitly states when to use it ('播完了,主持人人在现场手上没电脑'), the mandatory user-confirmation precondition, and the recommended chain (get_organizer_live → this tool → later re-read for hasRecord). The '播完了' condition also implies not to use it while the live is still intended to continue.

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