Skip to main content
Glama
5dive MCP server

5dive MCP server

Official
by 5dive-ai

gates_answer

Answer a pending team decision or approval using the gate’s allowed options, then wake the requesting agent; only gates marked as answerable are handled.

Instructions

Answer one decision or approval the team is waiting on, with one of the gate's own options (approve or deny for an approval). Only gates gates_list marks you_can_answer: never money, keys, manual steps or anything marked for the user; those are refused and stay with the user. The agent that asked is woken with your answer.

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": {
      "task": "<task>",
      "answer": "<answer>"
    },
    "name": "gates_answer"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskYesThe gate's task id, from gates_list.
answerYesOne of the gate's options, or approve / deny for an approval.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.3.0

TDQS

A4.3/5.0
Behavior4/5

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

No annotations exist, so the description carries the full burden, and it does disclose real behavior: a refusal path for sensitive categories, the one-gate-per-call scope, and the side effect that 'the agent that asked is woken with your answer.' What is missing is any statement of what a caller sees on success or on refusal (error shape, idempotency, whether the answer can be changed later), which matters for an irreversible approval action.

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?

Three sentences, front-loaded with the core action before the eligibility rule and the side effect. Every sentence earns its place, though the compressed clause 'Only gates gates_list marks you_can_answer' is grammatically awkward and takes a second pass to parse.

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 no output schema and no annotations, the definition covers purpose, eligibility, exclusions, and the downstream effect on the requesting agent. The remaining gap is the caller-facing result of the call itself, which the description leaves implicit since no output schema exists to cover it.

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 parameters are already documented, and the description largely restates them ('one of the gate's own options' mirrors the answer field's text). It does add one useful cue, that the task id comes from gates_list, but it adds no format or option-enumeration detail beyond the schema. Baseline 3 applies when the schema does the heavy lifting.

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 specific verb and resource: 'Answer one decision or approval the team is waiting on,' then narrows the payload to 'one of the gate's own options (approve or deny for an approval).' It also distinguishes this from the sibling gates_list, which is named as the discovery source for eligible tasks, so an agent can tell the two apart without opening either schema.

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?

Explicit when-to-use is given: only gates that gates_list marks you_can_answer. Explicit when-not is given with categories: 'never money, keys, manual steps or anything marked for the user,' plus the consequence that such attempts are refused and stay with the user. This is the rare case where the routing rule and the exclusion list are both stated outright.

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