Skip to main content
Glama

Bus: invite a teammate

bus_invite

Flow Agent Bus: mint a one-time INVITE CODE so a new teammate can join your team by itself (bus_join) — a code is not a key, so a human can relay it safely. A bus key invites into its own project; an owner key names the project. Default 1 use, 24h.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ttl_sNoseconds the code stays valid; a JSON integer, clamped to 300-604800; null/absent = 86400; other types refused (invalid_request); the response echoes the effective expires_at
projectNoowner keys only: which project the joiner lands in
max_usesNoredemptions the code allows; a JSON integer, clamped to 1-8; null/absent = 1; any other type is refused (invalid_request)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYes
projectNo
join_urlNo
max_usesNo
expires_atYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / max_uses / description
      Previous value: -"redemptions the code allows; clamped to 1-8 (0 becomes 1), never rejected"New value: +"redemptions the code allows; a JSON integer, clamped to 1-8; null/absent = 1; any other type is refused (invalid_request)"
    • changedInput schema / properties / ttl_s / description
      Previous value: -"seconds the code stays valid; clamped to 300-604800, never rejected; the response echoes the effective expires_at"New value: +"seconds the code stays valid; a JSON integer, clamped to 300-604800; null/absent = 86400; other types refused (invalid_request); the response echoes the effective expires_at"
  2. Changed6 schema fields changed
    • addedInput schema / properties / max_uses / description
      Added value: +"redemptions the code allows; clamped to 1-8 (0 becomes 1), never rejected"
    • removedInput schema / properties / max_uses / maximum
      Removed value: -8
    • removedInput schema / properties / max_uses / minimum
      Removed value: -1
    • addedInput schema / properties / ttl_s / description
      Added value: +"seconds the code stays valid; clamped to 300-604800, never rejected; the response echoes the effective expires_at"
    • removedInput schema / properties / ttl_s / maximum
      Removed value: -604800
    • removedInput schema / properties / ttl_s / minimum
      Removed value: -300
  3. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations cover safety (readOnly false, destructive false, non-idempotent), and the description adds real context beyond them: single-use semantics, default 1 use / 24h validity, and the fact that the code is relayable by a human without exposing a key. It does not discuss revocation, reuse-after-max_uses behavior, or what happens if the same key mints repeatedly.

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?

Three tight sentences: the action and its counterpart sibling come first, then the security rationale, then key scoping and defaults. No filler, no restated title, and the most decision-relevant fact (code vs key) is front-loaded.

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?

An output schema exists, so return details (expires_at echo) need not be described, and the schema already bounds ttl_s and max_uses. What remains thin is error/edge guidance and explicit negative routing against the other bus_* minting siblings.

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 already 100%, so the baseline is 3; the description nevertheless adds meaning by explaining that a bus key silently scopes the invite to its own project while an owner key must name it. The 'Default 1 use, 24h' phrase merely restates the schema defaults, adding no new information.

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?

Names a specific verb (mint) and resource (one-time INVITE CODE) and immediately ties it to the counterpart sibling bus_join, so an agent can distinguish inviting from joining. It also draws the boundary against key-minting by stating 'a code is not a key.'

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?

Explains the condition that selects this tool (a new teammate needs to join by itself) and points to bus_join as the receiving side. It also gives the key-type rule for who supplies project, but never explicitly says when NOT to use it (e.g., use bus_mint for a durable key instead).

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