Skip to main content
Glama

UXON AI

global_scripts_toggle

Idempotent

Before operating Revenuefly, read agent.instructions.get and follow its instructions. Activate or deactivate a reviewed shared script across all its assigned domains through the current toggle service.

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": {
      "siteId": "<siteId>",
      "scriptId": "<scriptId>",
      "enabled": "<enabled>",
      "idempotencyKey": "<idempotencyKey>"
    },
    "name": "global_scripts_toggle"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteIdYes
teamIdNoTarget organization ID from organizations_list. Applies to this request only.
enabledYes
scriptIdYes
idempotencyKeyYesRequired unique request key for safe retries, for example client-action-2026-07-20-001.

Output Schema

NameRequiredDescriptionDefault
okNo
dataYes
scopeYes
auditIdNo
commandYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare the safety profile (readOnlyHint=false, destructiveHint=false, idempotentHint=true), and the description adds genuinely useful scope information: the toggle applies to every assigned domain, and only 'reviewed' scripts are eligible. It stops short of saying what authorization is required, whether deactivating pulls live scripts immediately, or how partial-domain failure is handled.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, no filler, but the front-loaded sentence is a global cross-tool instruction rather than information about this tool, consuming the most prominent position. The actual purpose statement is clear but arrives second.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need no explanation, and annotations cover the mutation safety profile. However, for a cross-domain state-changing operation with 40% parameter coverage, the definition should say more about required permissions and the blast radius of toggling all assigned domains at once.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 40% and four of five parameters are required, yet the description explains none of them. It only hints at the meaning of 'enabled' via the verb pair; siteId, scriptId, idempotencyKey, and teamId are left entirely to the sparse schema.

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?

The description names a specific verb pair (activate/deactivate) and a specific resource (a reviewed shared script) plus the effect scope (across all its assigned domains). This is clearly distinct from global_scripts_create/delete/get, though it does not explicitly distinguish itself from the closely related global_scripts_update.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives a prerequisite (read agent.instructions.get first) and implies this is the tool for flipping a script's on/off state, but it never states when to prefer this over global_scripts_update or what happens if the script was not 'reviewed'. No alternatives or exclusions are named.

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