Skip to main content
Glama
grammy-mcp
by louietyj

sendChatJoinRequestWebApp

Process a chat join request query by showing a Mini App to the user before deciding the outcome.

Instructions

Use this method to process a received chat join request query by showing a Mini App to the user before deciding the outcome. Returns True on success.

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": {
      "chat_join_request_query_id": "<chat_join_request_query_id>",
      "web_app_url": "<web_app_url>"
    },
    "name": "sendChatJoinRequestWebApp"
  }
}

Input Schema

NameRequiredDescriptionDefault
web_app_urlYesThe URL of the Mini App to be opened
chat_join_request_query_idYesUnique identifier of the join request query

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Beyond annotations, the description discloses that the tool displays a Mini App to the user and returns True on success. It does not clarify whether the join request state is mutated, what permissions or Mini App prerequisites apply, or what happens after the Mini App is shown, so it is not fully transparent.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences, front-loads the purpose, and adds the success return value without unnecessary detail. Every sentence contributes useful information.

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?

The tool is simple, with two fully described required parameters and annotations covering its safety profile. The description is sufficient to call it, though it could do more to distinguish this tool from adjacent join-request tools.

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 both required parameters are already documented in the input schema. The description reinforces the conceptual roles of the query and the Mini App URL but adds no syntax, format, or validation details beyond the schema.

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 action (process a received chat join request query) and a specific mechanism (show a Mini App to the user), which is more informative than a tautology. It does not explicitly distinguish itself from sibling tools such as answerChatJoinRequestQuery or approveChatJoinRequest, 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?

The description gives clear usage context: it should be used for a received chat join request query, before deciding the outcome, with a Mini App shown to the user. It does not name alternatives or state when not to use this method, so it lacks the explicit routing and exclusions of a 5.

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

Deploy Server

Other Tools