Skip to main content
Glama

Let someone in, or not

answer_join_request
DestructiveIdempotent

Answers one person's request to join a friends link the person made. For the creator's side of a request; asking to join someone else's link is separate. Letting them in adds them to the link and tells them; declining clears the request without telling them. Only the link's creator can answer; letting in someone whose request is gone returns an error.

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": {
      "id": "<id>",
      "username": "<username>",
      "let_in": "<let_in>"
    },
    "name": "answer_join_request"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe link's id.
let_inYestrue to let them in, false to decline.
usernameYesThe username of the person who asked, as list_join_requests gives it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / id / description
      Previous value: -"The alarm's id."New value: +"The link's id."
    • removedInput schema / properties / id / format
      Removed value: -"uuid"
    • changedInput schema / properties / id / pattern
      Previous value: -"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"New value: +"^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
  2. Changed3 schema fields changed
    • removedInput schema / properties / user
      Removed value: -{
      -  "description": "The id of the person who asked.",
      -  "format": "uuid",
      -  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      -  "type": "string"
      -}
    • addedInput schema / properties / username
      Added value: +{
      +  "description": "The username of the person who asked, as list_join_requests gives it.",
      +  "maxLength": 64,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "id",
      -  "user",
      -  "let_in"
      -]New value: +[
      +  "id",
      +  "username",
      +  "let_in"
      +]
  3. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the supplied annotations: it discloses the two distinct outcomes of let_in (adds the member and notifies them vs. silently clears the request), the authorization requirement, and the specific failure mode when the pending request no longer exists. This is exactly the side-effect and permission context an agent needs for a destructiveHint=true mutation.

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?

Four tight sentences, front-loaded with the action and then the branch outcomes, with no filler. The phrasing 'a friends link the person made' is slightly loose but does not obscure meaning.

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?

A three-parameter mutation with no output schema; the description covers authorization, both branch effects, notification behavior, and the error case, which is everything needed to invoke it correctly. Nothing material is left unexplained.

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% and already defines id, username and the let_in boolean, so the description only echoes the two outcomes of let_in. With no enum values and no format or ordering guidance added in prose, it does not extend parameter meaning beyond what the schema already provides.

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 ('Answers one person's request to join a friends link') and immediately scopes it to the creator's side, explicitly separating it from the requester-side operation. An agent can distinguish this from list_join_requests or invite_by_email without opening a schema.

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?

Clearly marks the condition for use ('For the creator's side of a request; asking to join someone else's link is separate') and states the caller-identity precondition ('Only the link's creator can answer'). It stops short of naming the concrete sibling that supplies the username or the one used to request joining, leaving the agent to infer the pairing from the parameter description.

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.