Skip to main content
Glama

独行录 / opcmenu

搜索联盟

search_alliances
Read-only

登录;按名称/简介搜索可见联盟,返回联盟 id 与 organizationId(进入空间用后者)。nextCursor 原样翻页,get_alliance 看公开的下属组织与加盟条件。建联盟先 get_my_alliance_application_state 再 submit_alliance_application。

Input Schema

NameRequiredDescriptionDefault
qNo
cursorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, but the description adds real behavioral context beyond them: a login requirement, the exact fields returned, the meaning of each (organizationId is what you use to enter the space), and that nextCursor must be passed back verbatim for pagination. It stops short of describing result volume or ordering, so it is not fully complete.

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?

Dense but front-loaded: the core search action and return values come first, then pagination, then the alternative tools. The semicolon-chained phrasing is terse to the point of being slightly telegraphic, but no sentence is wasted.

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?

With no output schema, the description correctly supplies the return shape (alliance id, organizationId) and next-step semantics. Together with the login note, the pagination hint and the pointers to detail/creation tools, an agent has everything needed to call this 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 0%, so the description must carry the parameter meaning, and it does: q filters by name/description, and cursor is the opaque nextCursor token to be passed through unchanged for paging. It does not mention the maxLength limits or what an empty q returns, which keeps it off a 5.

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 and resource: search visible alliances by name/description, and names the returned fields (alliance id and organizationId). It also distinguishes itself from get_alliance (detail view) and submit_alliance_application (creation flow), so an agent can pick the right tool without reading the schemas.

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?

Explicitly routes the agent: use get_alliance for public sub-organizations and joining conditions, and for creating an alliance call get_my_alliance_application_state before submit_alliance_application. This gives both when-to-use and when-to-use-something-else guidance.

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