Skip to main content
Glama

Add hosted app guest

create_app_guest

Add a guest to a hosted app that takes guests by PIN (its playbook.json says "guests": { "signup": "pin" }; an app that lets visitors sign up by name refuses). Returns the guest and their personal 8-character pin. The PIN is in this answer only: Playbook keeps a hash, so give it to the user to hand to the guest, and tell them it cannot be shown again (the web app's Guests panel can issue a new one). The guest enters the PIN on the app's password page or in the app, and acts as themselves through the app's guest actions; what they enter is their name, email and phone given here. A guest's email and phone are personal data: show them to the user who asked, and never put them into an app's files, a folder's text or anything another visitor reads. Requires write scope and permission to edit the folder the app shows.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "slug": "<slug>",
      "guest_name": "<guest_name>"
    },
    "name": "create_app_guest"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesSlug of the app, from list_apps
guest_nameYesThe guest's name as the app and the owner see it, at most 80 characters, no < or >
guest_emailNoThe guest's email, if the app's actions need it
guest_phoneNoThe guest's phone, if the app's actions need it
organizationNoWorkspace slug, as returned by list_organizations. Omit it when the account has a single workspace — it is then resolved from your token. Pass it only when the account has several, or when you mean a workspace other than the obvious one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

Beyond annotations, the description discloses critical behavior: the PIN is returned once, only a hash is kept, it cannot be shown again, the web Guests panel can issue a new PIN, and the guest uses it on the password page. It also covers scope requirements, folder permissions, and personal-data handling constraints. These details are highly valuable and consistent with the annotations.

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?

The description is front-loaded with purpose and eligibility, then adds return behavior, PIN handling, privacy constraints, and permissions. It is dense but every sentence contributes operational or safety-relevant information. A slightly more structured format could improve scannability, but it is not bloated.

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?

There is no output schema, so the description appropriately explains the return value and the one-time PIN behavior. It also covers prerequisites, app eligibility, user-facing instructions, and privacy constraints. For a mutation tool with personal data and a one-time secret, this is complete enough for an agent to invoke it correctly.

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 parameter meaning is already well supplied by the input schema. The description adds some context that guest name, email, and phone are what the guest enters, but it does not explain parameters like organization beyond what the schema provides. This meets the baseline for high schema coverage.

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 verb and resource: add a guest to a hosted app that uses PIN signup. It also clarifies that apps with name-based signup refuse this operation. It does not explicitly differentiate itself from sibling tools such as remove_app_guest or list_app_guests, so it falls short of a 5.

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?

It clearly says when the tool applies: the app must take guests by PIN, and apps that let visitors sign up by name refuse. It also states permissions required. However, it does not name or compare alternative tools, so it lacks the explicit alternatives expected for a 5.

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