Skip to main content
Glama

独行录 / opcmenu

批量处置入会申请

bulk_review_organization_applications
DestructiveIdempotent

【需要登录·OWNER/ADMIN】一次处置最多 100 条入会申请。结果会真推送给申请人、收不回来:preview=true 先把名单念给用户确认,确认后才 preview=false 落库。 【组合链】list_organization_applications(pendingOnly=true) 拿 id → 本工具 preview=true → 用户确认 → preview=false → succeeded/failed 如实回报。 【口径/坑】① 服务层只有单条入口,这里是串行 N 次:部分成功是常态,failed[] 里逐条给原因,别当成整批成功。② 已审过且结论不同的会进 failed(organization_application_resolved),不能翻案。③ reason 是申请人会看到的原文,念给用户确认;写限流一桶 30 次,超出的那几条会落进 failed=organization_rate_limited,等一会儿原样补调即可。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
previewNo缺省 true=只预演不落库,返回将被处置的人给用户过目;**真正执行必须显式传 preview=false**
decisionsYes要处置的申请,一次最多 100 条
organizationIdYes组织 id

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?

Beyond the annotations (destructive=true, not read-only), the description discloses that results are pushed to applicants and cannot be undone, that preview is a dry-run, that execution is serial with partial success, and that already-resolved applications cannot be overturned. It also explains rate-limit behavior and the applicant-visible nature of the reason field. No contradiction with annotations.

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 dense but well-organized with clear sections for login/limits, the critical preview safety warning, the combination chain, and pitfalls. Every sentence carries operational importance, and the most critical safety constraint (preview true/false) is highlighted. No filler.

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 destructive batch mutation tool with no output schema, the description covers auth, batch limits, preview workflow, serial execution, partial success reporting, failure reasons, and retry semantics. An agent can call this tool correctly and handle expected edge cases without additional information.

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?

The schema already covers 100% of parameters, providing a 3 baseline. The description adds meaningful context beyond the schema: preview must be explicitly false to execute, reason is shown verbatim to applicants, and failure codes such as organization_application_resolved and organization_rate_limited are explained. This elevates it above baseline.

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 states a specific verb and resource: '一次处置最多 100 条入会申请' (process up to 100 join applications at once). It is clearly distinguished from siblings by naming the companion tool 'list_organization_applications(pendingOnly=true)' and by scoping to organization applications, which separates it from bulk_review_signup_submissions.

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 description provides an explicit combination chain: list → preview=true → user confirmation → preview=false → report succeeded/failed. It also gives prerequisites (login, OWNER/ADMIN) and retry guidance for rate limits. It does not explicitly name sibling alternatives or exclusions, but the workflow is concrete enough to guide an agent.

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