Skip to main content
Glama

UXON AI

landing_pages_code_variant_files_update

Idempotent

Before operating Revenuefly, read agent.instructions.get and follow its instructions. Save a revision-protected batch of text-file writes, unique exact-text replacements or deletions. For a first build, write the full index.html as one content string. Preserves binary assets, validates the complete static bundle and updates the draft only; does not publish.

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>",
      "landingPageId": "<landingPageId>",
      "variantId": "<variantId>",
      "expectedRevision": "<expectedRevision>",
      "operations": "<operations>",
      "idempotencyKey": "<idempotencyKey>"
    },
    "name": "landing_pages_code_variant_files_update"
  }
}

Input Schema

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

Output Schema

NameRequiredDescriptionDefault
okNo
dataYes
scopeYes
auditIdNo
commandYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly=false, destructive=false and idempotent=true, so the description is not obliged to restate safety. It does add genuinely new behavior: writes are revision-protected (concurrency-guarded via expectedRevision), the complete static bundle is validated before applying, binary assets are left intact, and the change lands on the draft only. Missing are the batch cap (20 operations) and what happens on a revision mismatch.

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?

Four short sentences, each front-loaded with purpose before constraint, and no redundant restatement of the schema. The opening instruction to read agent.instructions.get is boilerplate but short and clearly separable from the tool semantics.

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?

For a mutating, revision-guarded batch tool with an output schema present, the description covers what is mutated, what is preserved, validation, and the draft-only boundary. The remaining gap is operational failure detail — batch limits, size caps and revision-conflict behavior — which is secondary given an output schema exists.

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 only 29%, so several of the seven parameters (siteId, landingPageId, variantId, expectedRevision, operations internals) rely on the description for meaning. It partially compensates by explaining that replacements are 'unique exact-text' and that a write takes the full file as one content string, but it never explains expectedRevision's conflict semantics or the meaning of the operation variants beyond that.

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 concrete verb and resource — a revision-protected batch of text-file writes, exact-text replacements or deletions against landing page code variant files — and adds scope ('updates the draft only; does not publish'). Sibling tools mostly split binary upload from text editing, and 'Preserves binary assets' implicitly separates this from the upload family, though no sibling 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 Guidelines3/5

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

It supplies one concrete usage tip ('For a first build, write the full index.html as one content string') and bounds the effect to a draft, so a publishing tool must be used afterwards. There is no explicit when-to-use-versus-alternative routing, e.g. no statement of when to use replace_text instead of write, or when to prefer the upload tools for binary content.

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