Skip to main content
Glama

Decline Switch Agent Action

decline_switch_agent_action

Pass on your no to the card your Switch Agent is waiting on (pending_action in an ask_switch_agent answer). The step does not run and nothing is charged for it; the agent answers with what it can do instead. This tool only declines; a yes is your own tap in Switch.

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": {
      "conversation_id": "<conversation_id>"
    },
    "name": "decline_switch_agent_action"
  }
}

Input Schema

NameRequiredDescriptionDefault
wait_secondsNoHow long to wait for the agent's next words (5 to 55, default 45).
conversation_idYesThe conversation whose card you said no to.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Beyond the annotations it discloses the consequences of declining: the step does not run, nothing is charged, and the agent replies with alternatives. This is real behavioral context, though it does not say what happens on a repeated decline despite `idempotentHint: false`, nor how the agent's next words are surfaced.

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?

Three short sentences, each earning its place: what it does, the consequence, and the yes/no boundary. The key outcome (nothing runs, nothing is charged) is front-loaded.

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, non-destructive mutation with no output schema, the definition covers intent, effect, and cost. Minor omissions are the failure mode on repeat calls and any hint of how the agent's follow-up is returned beyond `wait_seconds`.

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 baseline is 3. The description clarifies that `conversation_id` means the conversation whose card was declined but says nothing about `wait_seconds`, adding only marginal meaning.

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 -- pass a "no" to the pending action card a Switch Agent is waiting on -- and anchors it in the concrete `pending_action` returned by `ask_switch_agent`. An agent can distinguish it from the sibling ask/decide tools 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 clear when-to-use (you want to reject the pending card) and an explicit exclusion: "This tool only declines; a yes is your own tap in Switch." It does not route the agent to the sibling for non-Switch-agent approvals such as `decide_switch_unrestricted_action`, so it stops short of full alternative coverage.

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