Skip to main content
Glama

UXON AI

global_scripts_update

Idempotent

Before operating Revenuefly, read agent.instructions.get and follow its instructions. Update explicit fields of an existing reviewed shared script.

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>",
      "idempotencyKey": "<idempotencyKey>"
    },
    "name": "global_scripts_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeNo
nameNo
siteIdYes
statusNo
teamIdNoTarget organization ID from organizations_list. Applies to this request only.
domainsNo
scriptIdYes
placementNo
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

C2.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and idempotentHint=true, so the safety profile is covered structurally. The description adds a real precondition ('existing reviewed shared script') and hints at partial-update behavior, but never says whether replacing 'code' resets the reviewed state, whether omitted fields are preserved, or what authorization is needed.

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?

Only two sentences and no padding, but the generic 'read agent.instructions.get' boilerplate is front-loaded ahead of the actual tool purpose, delaying the one sentence that identifies what this tool does.

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

Completeness2/5

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

For a mutation tool with 9 loosely documented parameters and a sibling toggle endpoint, the description leaves too much unexplained: partial-update semantics, review-state effects, and field meanings are all absent, though the output schema does relieve it of describing return values.

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?

With 9 parameters at 22% schema description coverage, the description must carry the parameter burden and does not. 'Explicit fields' hints at partial-update semantics, but nothing explains what 'code', 'domains', 'placement', 'scriptId' or 'siteId' mean or which combinations are valid; only teamId and idempotencyKey are documented, and only in the 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 second sentence gives a specific verb and resource ('Update explicit fields of an existing reviewed shared script'), which lets an agent separate this from global_scripts_create/delete/get/list without opening a schema. It stops short of naming any sibling explicitly, so differentiation is implied by the verb rather than stated.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance: nothing tells the agent to prefer global_scripts_toggle for the 'status' enum, or global_scripts_get before editing. The only directive is a generic preamble about reading agent.instructions.get, which is not tool-selection guidance.

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