Skip to main content
Glama

Workspace refresh all accounts

workspace_refresh_all_accounts

Re-sync every connected ad account for the active brand. Changes data: runs only with confirm=true; without it, returns a preview and changes nothing. client_id picks the brand (defaults to the active one); extra passes any other field the app accepts.

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": "workspace_refresh_all_accounts"
  }
}

Input Schema

NameRequiredDescriptionDefault
extraNo
confirmNo
user_idNo
client_idNo
user_emailNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false and destructiveHint=false but say nothing about the dry-run gate; the description fills that gap by explaining that a call without confirm=true changes nothing and returns a preview. It doesn't cover how long a full re-sync takes, whether it blocks, or what happens to in-flight jobs, so it is good but not complete.

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 with no filler, and the most consequential fact (the preview unless confirm=true) is front-loaded right after the purpose statement.

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?

The output schema exists, so return values need no prose, and the description covers purpose, safety gate, and the two most ambiguous parameters. The undocumented user_id/user_email parameters are the only real gap for a tool with 5 optional parameters.

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 0% for 5 parameters, so the description must carry the load. It explains confirm, client_id (with its default to the active brand), and extra (pass-through fields), but leaves user_id and user_email entirely undocumented in both schema and description.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: 'Re-sync every connected ad account for the active brand.' The scope word 'every' implicitly distinguishes it from the per-platform siblings (workspace_refresh_google_account, workspace_refresh_meta_account), though none is named explicitly.

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 the decisive invocation rule: it only runs with confirm=true and otherwise returns a no-op preview, which tells an agent exactly how to safely call it. It stops short of stating when to prefer this bulk refresh over the single-platform refresh tools, leaving that comparison to inference.

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.