Skip to main content
Glama

Set the sites a Task can reach

workbench_tasks_set_sites

Sets the full list of sites a Task's machine may reach (example.com, or *.example.com for its subdomains; up to 20), for steps that have to use a site like a person would. It replaces the list, so read workbench_tasks_get first (allowedSites, and computer.sites for what the plan names) and pass every site to keep. Always waits for approval, and only a workspace admin's approval applies it; for anyone else it says who can. The latest saved version runs with the new list.

Input Schema

NameRequiredDescriptionDefault
sitesYesEvery site the Task may reach.
taskIdYesTask id, from workbench_tasks_list.
workspaceNoWorkspace slug. Personal tokens with no default workspace MUST pass this; tokens with a default can override per call. Ignored for workspace API keys.
approvalIdNoApproval id from a prior needs_confirmation response. Omit on the first call.

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?

Goes well beyond the annotations by disclosing that the list is replaced wholesale (a real data-loss risk despite destructiveHint=false), that the call always waits for approval, that only a workspace admin's approval applies it and others get an explanation of who can approve, and that the latest saved version picks up the new list.

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?

Four dense sentences that front-load the action, then the replacement warning, then the approval gate. The 'up to 20' restates maxItems from the schema, but otherwise every clause carries new information.

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 mutating, approval-gated tool with no output schema, the description covers the prerequisite read, replacement danger, approval requirement and who can satisfy it, and the downstream effect on the running version. Nothing an agent needs in order to call it correctly is missing.

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 100%, so the baseline is 3, but the description adds meaning the schema lacks: accepted site syntax including subdomain wildcards, the replace-not-merge semantics of 'sites', and the leave-approvalId-off-on-first-call flow implied for the approval parameter.

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: it sets the full list of sites a Task's machine may reach, with wildcard examples and a cap of 20. It also names the sibling it pairs with (workbench_tasks_get) and the scope constraint (full replacement), so an agent can distinguish it from routine-reading or task-editing tools.

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 an explicit prerequisite read (workbench_tasks_get, including which fields to consult) and a usage condition ('steps that have to use a site like a person would'), plus the warning to pass every site to keep. It does not name a contrasting alternative such as routines_set_sites for a similar operation on routines, which keeps it short of a full 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