Skip to main content
Glama

独行录 / opcmenu

批量处置入会申请

bulk_review_organization_applications
DestructiveIdempotent

【需要登录·OWNER/ADMIN】最多100条入会申请;会真实推送、收不回:先 preview=true 念名单和 reason 原文给用户确认,再 preview=false。list_organization_applications(pendingOnly=true) → 预览 → 确认 → 执行 → 如实报 succeeded/failed。串行逐条,部分失败逐条看原因;已审且结论不同报 organization_application_resolved,不可翻案。写限流30次,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?

Annotations already flag destructiveHint=true and readOnlyHint=false, but the description adds substantial context: the effect is a real, irreversible push ('收不回'), processing is serial, partial failures must be diagnosed individually, and it documents two error paths (organization_application_resolved for conflicting prior review, organization_rate_limited with retry-after).

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?

Front-loads the auth/role gate and the 100-item cap, then uses an arrow flow for the sequence and terse clauses for edge cases. Dense but every clause carries operational meaning; no filler.

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

Completeness4/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 does the heavy lifting by describing success/failure reporting and specific error codes. It stops short of describing the exact return payload shape, but covers enough for correct invocation.

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 still adds meaning by explaining that preview defaults to true and that execution requires an explicit preview=false, plus how the decision reasons should be surfaced to the user.

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?

States a specific verb+resource (bulk-review organization membership applications) with scope and role gating (OWNER/ADMIN, max 100). It distinguishes itself from the sibling list_organization_applications by naming that tool as the read-side counterpart it feeds from.

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 end-to-end workflow: list_organization_applications(pendingOnly=true) → preview → confirm → execute → report. It clearly states preview=true first to read names/reasons verbatim, then preview=false to actually act, leaving no ambiguity about when each mode is used.

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