Skip to main content
Glama

Foundaree

Accept or decline a connection request

respond_to_connection

Answer one connection request sent to the signed-in user. Get the id from my_connection_requests first. Tell the user who it is and what they wrote, and get their yes before calling this. Declining removes the request quietly; the other person is not told they were declined.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
answerYesWhat the user decided.
requestIdYesThe request id, from my_connection_requests.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already mark the tool as non-readonly, open-world, non-idempotent, and non-destructive. The description adds a valuable behavioral disclosure: 'Declining removes the request quietly; the other person is not told they were declined.' This goes beyond the annotations and informs the agent of the side effect. It does not contradict any annotation, so it's a solid 4.

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 tightly packed sentences. The first sentence states the purpose and the second covers prerequisite, user confirmation, and the decline side effect. Every clause earns its place, with no fluff or redundant content.

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?

For a tool with two required parameters, an enum, no output schema, and no nested objects, the description is complete. It covers the prerequisite (get id), the required user confirmation, and the behavioral nuance of declining. Nothing an agent needs to call this correctly is missing. The annotations cover the side-effect profile, and the schema covers the parameters.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the parameters are well-documented. The description adds semantic value by explicitly tying the requestId to 'my_connection_requests', clarifying its source. It also implies that 'answer' should reflect the user's decision from the confirmation step. Even though the schema fully describes the parameters, this extra source hint elevates the score above 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?

The description opens with a precise verb+resource: 'Answer one connection request sent to the signed-in user.' It clearly distinguishes itself from siblings like my_connection_requests (which lists requests) and respond_to_booking (which handles bookings). The accept/decline action is explicit, leaving no ambiguity about what the tool does.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

The description gives explicit usage guidance: 'Get the id from my_connection_requests first' establishes the prerequisite, and 'Tell the user who it is and what they wrote, and get their yes before calling this' directs the agent to confirm with the user. It also notes that declining removes the request quietly, which sets expectations. No alternatives are named, but the tool is specialized enough that this is sufficient.

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