Skip to main content
Glama

独行录 / opcmenu

预览组织邀请链接

preview_organization_invitation
Read-onlyIdempotent

【何时用】用户手上有一条组织邀请链接/token,想先看清是哪个组织、什么协议再决定。匿名可调,对私密组织也看得到(这是私密组织唯一的公开入口)。 【组合链】本工具(带 includeTermsBody=true 把协议念给用户)→ 用户同意 → apply_to_organization(organizationId, invitationToken=同一串)。邀请即预批准:带 token 申请不用审,当场入会。 【口径/坑】① token 是 43 位(A-Za-z0-9_-),传整条链接也行、会自动取最后一段,但别自己截断。② 只是预览,不消耗邀请;真正用掉是在申请那一步。③ 过期/被撤销/链接发放人已不是管理员 → organization_invitation_invalid,无出口。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tokenYes邀请 token(43 位),也可以直接把整条邀请链接丢进来
includeTermsBodyNotrue=下发加入协议正文,只在要念给用户确认时传。缺省 false

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already mark this as read-only, idempotent, and non-destructive, but the description goes further: it discloses anonymous access, visibility into private organizations, token auto-extraction behavior, non-consumption of the invitation, and specific invalid-state error behavior. This is rich behavioral context beyond the structured fields.

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 well-organized into labeled sections: when to use, combination chain, and edge cases/pitfalls. Every sentence adds operational value, and the most decision-relevant information is front-loaded.

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 lacking an output schema, the description makes the tool's purpose, return concept, error conditions, and next step sufficiently clear. It covers all the practical information an agent needs to select and invoke this tool correctly.

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 adds meaningful nuance beyond the schema: do not truncate the token, full links are accepted and auto-extracted, and the same token value should be reused in apply_to_organization. This goes beyond simply restating the parameter descriptions.

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 clearly defines the tool as a preview action for an organization invitation token/link, letting the user see the organization and agreement before deciding. It also distinguishes it from apply_to_organization by positioning preview as the pre-consent step and calling out that it is the only public entry point to private organizations.

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 the tool: when the user holds an invitation token/link and wants to inspect it first. It names the follow-up alternative apply_to_organization, describes the intended chain, and clarifies that this tool only previews and does not consume the invitation.

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