Skip to main content
Glama
Unstop MCP Server

Unstop MCP Server

by vinoth322006

Answer a join request

respond_to_join_request

Accept or decline a received team join request by passing its request ID and an accept boolean (true to approve, false to reject).

Instructions

Accept or decline someone's request to join the user's team (id from team_invitations.join_requests_received).

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": {
      "request_id": "<request_id>",
      "accept": "<accept>"
    },
    "name": "respond_to_join_request"
  }
}

Input Schema

NameRequiredDescriptionDefault
acceptYestrue = let them join, false = decline
request_idYesId from team_invitations

Output Schema

NameRequiredDescriptionDefault
okYes
urlNo
messageYes
opportunity_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.5.0

TDQS

A3.5/5.0
Behavior3/5

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

The annotations already declare the full safety profile (not read-only, not idempotent, open-world, non-destructive), so the description only needs to add context. It does add one useful behavioral fact — where the request_id originates (team_invitations.join_requests_received) — but says nothing about what happens on each branch, whether a declined request can be re-answered, or what permissions are required.

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?

A single front-loaded sentence with no filler; the action pair leads and the provenance of the id follows in parentheses. It could be tightened by naming the sibling it is distinct from rather than the table path, but nothing is wasted.

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 two-parameter tool with full schema coverage, output schema, and complete annotations, the description covers purpose and the origin of the key input, which is most of what an agent needs. The remaining gap is disambiguation from respond_to_invitation, which matters because both concern answering a pending social/team request.

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 100%, so both parameters are already documented inline, including 'true = let them join, false = decline'. The description contributes only a slightly more specific source reference (team_invitations.join_requests_received vs. the schema's 'Id from team_invitations'), which is marginal added meaning over 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 gives a specific verb pair (accept or decline) and a specific resource (someone's request to join the user's team), so an agent knows exactly what operation is performed. It does not differentiate itself from the close sibling respond_to_invitation, which handles a superficially similar decision, 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied rather than stated: the two outcomes (accept/decline) are named, which tells the agent this is the response step for a pending join request, but there is no explicit precondition (e.g. 'call after listing pending requests') and no statement of when to prefer it over respond_to_invitation. The agent must infer the selection rule from the tool names alone.

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