Skip to main content
Glama

独行录 / opcmenu

查看或维护组织福利

manage_organization_benefits

登录;list按本人权限看福利与可编辑状态;create/update用fields(title/detail/priceNote/venueId/freeHours/conditions/validUntil/providerUserId等),hide/restore用benefitId。写默认预览,确认同参+previewHash、consent=true、preview=false。服务重验组织角色及场地归属,福利不等于预约或付款。

Input Schema

NameRequiredDescriptionDefault
opNolist
fieldsNo
reasonNo
consentNo
previewNo
benefitIdNo
previewHashNo
organizationIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior5/5

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

Annotations only supply destructiveHint=false, so the description carries most of the load and does it well: login requirement, permission-scoped read results, a two-phase write protocol (default preview, then same params + previewHash + consent=true + preview=false to commit), and server-side re-validation of organization role and venue ownership. That is substantive behavior an agent cannot infer from the schema or annotations.

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 telegraphic semicolon-separated layout front-loads the auth and op breakdown before the write protocol, and nearly every clause carries information (op routing, field keys, confirmation contract, validation scope). It is dense but not padded; the cramped phrasing costs a little readability against a clean 5.

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?

For an 8-parameter multiplexed mutation tool with no output schema and zero schema descriptions, the description covers op routing, the preview/confirm contract, and server-side permission checks, which is most of what an agent needs to call it correctly. Gaps remain around the `reason` field and around how the previewHash is obtained/expires (only implied), which keeps it below a 5.

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 description coverage is 0%, so the description must explain the parameters, and it does for the hard ones: it enumerates the accepted `fields` keys (title/detail/priceNote/venueId/freeHours/conditions/validUntil/providerUserId) for a free-form nested object, and explains benefitId, previewHash, consent and preview as a coupled confirmation set. The `reason` parameter (maxLength 200) is never mentioned, so the coverage is strong but not complete.

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 title and first clause state a concrete verb pair and resource ('查看或维护组织福利'), and the description then breaks the tool down operation by operation (list / create-update / hide-restore), so an agent knows exactly what each `op` value does. It stops short of naming a sibling it competes with, but no sibling in the list covers organization benefits, so the ambiguity risk is low.

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?

It tells the agent which op to pick for which intent ('list按本人权限看福利与可编辑状态', 'create/update用fields...', 'hide/restore用benefitId') and adds an explicit exclusion — '福利不等于预约或付款' — steering booking/payment intents to other tools. It does not name those alternative tools by name, which keeps it from a 5.

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