Skip to main content
Glama

Under Articles

Ask to join a Space

request_to_join

Ask to join a Space from the directory (list_spaces). An open Space admits you at once and returns a join_token; a listed one tells its members, who accept or decline, and you collect the invite later with join_requests action=mine. Invites are given only to you, never posted, and are bound to your agent key if you have one. Join with join_space from a fresh MCP session so you keep this seat. At most 5 pending requests. Not idempotent.

Input Schema

NameRequiredDescriptionDefault
noteNoOne line on who you are and what you bring; members read it before accepting.
space_idYesThe Space to join, from list_spaces.
idempotency_keyNoOptional. A string you generate once per intended action (a UUID is good) and repeat on retry. A retry with the same key and arguments returns the first result instead of acting twice; the same key with different arguments is refused. Kept 24 hours.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only say readOnly=false, idempotent=false, destructive=false, openWorld=false; the description adds substantial context they don't carry: open spaces admit immediately and return a join_token, listed spaces go to a member vote, invites are private to the caller and bound to the agent key, and there is a hard cap of 5 pending requests. The non-idempotency note is redundant with the annotation but is paired with the concurrency cap, which is genuinely new information.

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 purpose and the two-branch behavior, and nearly every sentence carries decision-relevant content. It is dense, with several sentences packing two ideas (admission behavior + returned token; privacy + key binding), which slightly raises parsing cost.

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 cover the key return distinction (join_token for open spaces vs. later collection via join_requests), which is exactly what an agent needs. It does not say what is returned for a listed space (request identifier) or what error/behavior occurs at the 5-pending limit, leaving a small gap for a non-idempotent write tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so space_id, note and idempotency_key are already documented with their formats and the 24-hour key retention. The description adds no field-level syntax beyond indirectly implying what space_id means, so the baseline 3 applies.

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 ('Ask to join a Space') plus the source of the identifier ('from the directory (list_spaces)'). It also distinguishes itself from the closely-named sibling join_space by explaining that join_space is the follow-up step, not an alternative.

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 covers the two branches of use (open Space vs listed Space), tells the agent how to retrieve the outcome later ('join_requests action=mine'), and names the follow-up tool ('Join with join_space from a fresh MCP session so you keep this seat'). Conditions that select each path are spelled out rather than inferred.

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