Skip to main content
Glama

create_invite_link

Creates a shareable invite link (/join/) for a project — the same mechanism as the app's own 'Share' button. Requires a GOVERNING role (owner or manager) — matches POST /api/projects/[id]/shares/token since 2026-08-19. Optional role ('viewer' default, or 'editor') and allowGuests (default true — lets people join without creating an account).

Input Schema

NameRequiredDescriptionDefault
roleNoRole granted to the people who join through this link (default: viewer).
projectIdNoUUID of the project to share. Defaults to the session's active project.
allowGuestsNoIf true (default), visitors can join without an account (temporary guest session).
expectedProjectIdNoUUID of the project targeted by THIS call. ACTUALLY targets this project instead of the session project. Refused without changing anything if access is not granted.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / allowGuests / description
      Previous value: -"Si true (défaut), les visiteurs peuvent rejoindre sans compte (session invité temporaire)."New value: +"If true (default), visitors can join without an account (temporary guest session)."
    • changedInput schema / properties / expectedProjectId / description
      Previous value: -"UUID du projet visé par CET appel. Cible RÉELLEMENT ce projet au lieu du projet de session. Refusé sans rien modifier si l'accès n'est pas accordé."New value: +"UUID of the project targeted by THIS call. ACTUALLY targets this project instead of the session project. Refused without changing anything if access is not granted."
    • changedInput schema / properties / projectId / description
      Previous value: -"UUID du projet à partager. Par défaut, le projet actif de la session."New value: +"UUID of the project to share. Defaults to the session's active project."
    • changedInput schema / properties / role / description
      Previous value: -"Rôle accordé aux personnes qui rejoignent via ce lien (défaut: viewer)."New value: +"Role granted to the people who join through this link (default: viewer)."
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare non-read-only, non-destructive, closed-world behavior, so the description's job is to add context — and it does: the governing-role authorization requirement and the fact that allowGuests lets people join without an account. It omits any note on link expiry, revocation, rate limits, or idempotency, so it stops short of a 5.

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?

Purpose and route are front-loaded in the first clause, followed by the authorization prerequisite and optional-parameter notes — a logical order. It is a bit dense, stacking an implementation note ('matches POST /api/projects/[id]/shares/token since 2026-08-19') and parentheticals into one long sentence.

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?

For a four-parameter mutation tool with no output schema, the description covers the key facts an agent needs: what is created, the link format, the required role, and the guest-join behavior. It does not describe the returned token/link shape explicitly, which is a minor gap.

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 every parameter (including expectedProjectId and its refusal semantics) is already documented in the schema. The description's mentions of the 'viewer' default and allowGuests default true largely restate the schema, so baseline 3 is appropriate.

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 ('Creates a shareable invite link for a project') and even names the resulting artifact (/join/<token>), so the output is concrete. It also clarifies the mechanism is identical to the app's own 'Share' button, which removes any ambiguity about what is being produced.

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?

Gives a clear prerequisite: a GOVERNING role (owner or manager) is required, which tells the agent when this call will succeed. It does not, however, point to any alternative or sibling tool for related sharing/permission operations, nor state when not to use it.

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.