Skip to main content
Glama

queue_task

Destructive

Keep a call for one of the user's computers that is offline or asleep, and run it when that computer connects to BCD again; BCD then keeps the result and tells the user. Use it only after a call came back DEVICE_UNAVAILABLE and the user wants it done once the computer is back. Pass the tool and the same arguments. It runs with the permissions, plan limit and checks that apply when it runs, and is refused then if they no longer allow it. Arguments wait on BCD's server: never put secrets in them. Waits up to expiresInDays (default 7, at most 30). The outcome: check_operation with operationId set to the taskId; check_operation with no operationId lists queued tasks. action cancel with taskId stops one that has not run.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "queue_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
toolNoThe tool to run when the computer is back
labelNoA few words on what it does, shown to the user
actionNoadd (default) or cancel
notifyNoWhen to email the account: failures (default), always or never
taskIdNoFor cancel
deviceIdNoComputer name or id
agentNameNoYour agent name, to get the outcome in check_inbox
argumentsNoThat tool's arguments, as you sent them
expiresInDaysNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=true), it discloses that execution-time permissions, plan limits and checks are re-evaluated and the task is refused then if they no longer pass — critical for a deferred destructive operation. It also warns that arguments persist on BCD's server and must never contain secrets, and states the expiry window and default.

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?

The purpose is front-loaded in the first clause, and every sentence carries operational information (precondition, secrets warning, expiry, outcome lookup, cancellation). The semicolon-chained single paragraph is dense and slightly harder to scan than a short bulleted structure would be.

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 9-parameter tool with a nested arguments object and no output schema, the description covers the full lifecycle: how to add, how long it waits, what happens at run time, where the result goes (check_operation with operationId, or check_inbox via agentName), and how to cancel. An agent has everything needed to invoke it correctly and recover the outcome.

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 coverage is already 89%, so the schema carries most parameter meaning; the description adds the default of 7 days for expiresInDays (absent from the schema, which only gives min/max 1–30) and clarifies that the same arguments must be passed for the deferred tool and that taskId is the cancel handle. It omits any mention of notify, label, agentName or deviceId, so it adds real but partial value.

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 states a specific verb and resource with full scope: keep a call for one of the user's offline/asleep computers and run it when that computer reconnects to BCD, then persist the result and notify the user. This is clearly distinguishable from siblings such as check_operation, which is explicitly named as the outcome-retrieval path rather than the queueing path.

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?

It gives an explicit precondition — use only after a call returned DEVICE_UNAVAILABLE and the user wants it done once the computer is back — plus the cancel path via action=cancel with taskId. It does not explicitly state the negative case (device online → call directly), leaving that to inference, which keeps it just short of a 5.

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