Skip to main content
Glama

Let someone in, or not

answer_join_request
Idempotent

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe alarm's id.
userYesThe id of the person who asked.
let_inYestrue to let them in, false to decline.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Adds real behavioral context beyond the annotations: letting someone in adds them and notifies them, declining silently clears the request, only the creator is authorized, and letting in a vanished request errors. None of this is derivable from readOnlyHint=false, idempotentHint=true, destructiveHint=false.

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 purpose, then side-of-request routing, then per-branch behavior, then the authorization/error caveat. Every sentence carries information, though the wording is slightly dense and could be split for faster scanning.

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 three-parameter mutation with no output schema, the definition covers authorization, notification side effects, and the failure case. It does not say what happens on decline if the request is already gone or what a success response contains, leaving a small gap for an agent reasoning about error handling.

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 id, user, and let_in are already documented, including 'true to let them in, false to decline.' The description only adds the downstream consequence of each let_in value (notify vs. silent clear), which is a modest enrichment over the schema baseline.

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 (answer a person's request to join an alarm) and explicitly scopes it to the creator's side, noting the inverse case is separate. An agent can distinguish this from join_alarm / use_invite_code / list_join_requests without opening any 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?

Gives a clear when-to-use condition (only the alarm's creator answers) and distinguishes the opposing flow ('asking to join someone else's alarm is separate'). It stops short of naming the sibling tool for that opposing flow or pointing to list_join_requests for discovering pending requests, so the alternatives remain inferable rather than explicit.

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