Skip to main content
Glama

accept_invite

Destructive

Accepts an AP1 invite string or /i/{token} link, registering a handle if needed and confirming the inviter via key fingerprint or returning a safety number to compare.

Instructions

Accepts an invite: an AP1-... string (the whole forwarded message is fine) or an /i/{token} link. Registers first if needed (then a handle is required). With an AP1 string the client itself checks the inviter's keys against the fingerprint in the string: no digits to compare, the contact is confirmed at once (verified_method: invite). With a classic link it returns the safety number with instructions for comparing it: show it to the owner.

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": {
      "url": "<url>"
    },
    "name": "accept_invite"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes
handleNo
server_urlNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, openWorldHint=true, but the description adds real substance beyond them: it discloses that the tool may create an account as a side effect, that AP1 invites are auto-verified against an embedded key fingerprint (verified_method: invite), and that classic links return a safety number meant to be shown to the owner. It does not explain whether the registration step is reversible or what happens if the fingerprint check fails, which is the remaining gap.

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 what the tool accepts, then the conditional registration rule, then the two verification paths in a logical order. It is dense but every clause carries information; the parenthetical asides slightly crowd the prose without wasting words.

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 non-idempotent, destructive, open-world mutation tool with no output schema, the description does the important work: it explains the account-creation side effect, both verification paths, and the shape of what comes back (auto-verified contact vs. safety number). The unaddressed server_url parameter is the one meaningful omission.

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 coverage is 0%, so the description carries the full burden. It does well for 'url', spelling out both accepted formats (a whole forwarded AP1 message or an /i/{token} link), and it explains when 'handle' is needed (only when registration occurs). 'server_url' is never mentioned, leaving one of three parameters undocumented in both schema and description.

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+resource ('Accepts an invite') and immediately enumerates the two accepted input forms (AP1-... string or /i/{token} link). The outcome (contact registered and verified, or safety number returned for manual comparison) is stated, which cleanly separates it from create_invite and reject in the sibling set.

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 clear context for use: bring either a forwarded invite message or a link, and the tool will register first if the caller has no account yet. The conditional prerequisite ('then a handle is required') is a genuinely useful usage rule. It stops short of explicit when-not-to-use or naming sibling alternatives, so it lands at 4 rather than 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.