Skip to main content
Glama

独行录 / opcmenu

申请加入组织

apply_to_organization
Idempotent

【需登录】真提交且管理员可见;先get_organization(includeTermsBody=true)展示协议标题/全文及每题答案,本人明确确认同意后申请。有协议须currentTerms.id及acceptTerms=true;无协议两项省略。43位invitationToken预批准,当场入会。已有成员/PENDING幂等返回既有记录,非新进展,勿重复。answers.key仅formFields所给;joined=true已入会、pendingReview=true等审,后续submit_signup。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
answersNo
acceptTermsNo
organizationIdYes组织 id
termsVersionIdNo
invitationTokenNo
acceptContactSharingNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / acceptContactSharing
      Added value: +{
      +  "type": "boolean"
      +}
  2. Added

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, idempotentHint=true) the description discloses login requirement, that the submission is genuinely created and admin-visible, the terms-acceptance gate, immediate admission via a 43-char invitationToken, and that existing members or PENDING applications return the existing record as a no-op rather than new progress.

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-loaded with the login/real-submission constraint and no filler, but the middle is a dense semicolon-chained run of conditions that takes effort to parse. Efficient in length, less so in readability, though every clause carries real operational content.

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 compensates by describing result flags (joined=true, pendingReview=true, idempotent existing record) and the full pre-call workflow. The only real gap is the undocumented acceptContactSharing parameter for a tool with 6 params.

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 only 17%, so the description must carry the load and largely does: it explains termsVersionId/currentTerms.id, acceptTerms=true, the 43-character invitationToken, and the answers.key constraint. acceptContactSharing is never addressed in either the schema or the description, leaving one parameter opaque.

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 description states a specific action and effect – a real organization-join submission that becomes admin-visible – rather than restating the name. It does not name a same-purpose sibling to separate itself from (e.g. preview_organization_invitation or apply_organization_to_alliance), though it does route onward to submit_signup after the apply step.

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?

Explicit prerequisites and sequencing: call get_organization(includeTermsBody=true) to surface the agreement first, require the user's explicit consent before applying, include currentTerms.id plus acceptTerms=true only when an agreement exists, else omit both. It also states the invitationToken fast path, the idempotent behavior for existing/PENDING members, and that answers.key must come from formFields.

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