Skip to main content
Glama

UXON AI

menus_update

Idempotent

Before operating Revenuefly, read agent.instructions.get and follow its instructions. Update a menu and refresh affected published landing pages.

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

Input Schema

NameRequiredDescriptionDefault
nameNo
itemsNo
menuIdYes
siteIdYes
teamIdNoTarget organization ID from organizations_list. Applies to this request only.
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. Changed1 schema field changed
    • changedInput schema / properties / items / items / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "icon": {
      -        "anyOf": [
      -          {
      -            "maxLength": 200,
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "iconPosition": {
      -        "enum": [
      -          "first",
      -          "last"
      -        ],
      -        "type": "string"
      -      },
      -      "label": {
      -        "maxLength": 160,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "linkType": {
      -        "const": "internal",
      -        "type": "string"
      -      },
      -      "pageId": {
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "variantId": {
      -        "anyOf": [
      -          {
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      }
      -    },
      -    "required": [
      -      "label",
      -      "linkType",
      -      "pageId"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "externalUrl": {
      -        "maxLength": 2048,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "icon": {
      -        "anyOf": [
      -          {
      -            "maxLength": 200,
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "iconPosition": {
      -        "enum": [
      -          "first",
      -          "last"
      -        ],
      -        "type": "string"
      -      },
      -      "label": {
      -        "maxLength": 160,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "linkType": {
      -        "const": "external",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "label",
      -      "linkType",
      -      "externalUrl"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "icon": {
      +        "anyOf": [
      +          {
      +            "maxLength": 200,
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "iconPosition": {
      +        "enum": [
      +          "first",
      +          "last"
      +        ],
      +        "type": "string"
      +      },
      +      "label": {
      +        "maxLength": 160,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "linkType": {
      +        "const": "internal",
      +        "type": "string"
      +      },
      +      "pageId": {
      +        "anyOf": [
      +          {
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "resourceId": {
      +        "anyOf": [
      +          {
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "resourceType": {
      +        "anyOf": [
      +          {
      +            "enum": [
      +              "landing_page",
      +              "form",
      +              "course",
      +              "checkout",
      +              "testimonial_widget"
      +            ],
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "variantId": {
      +        "anyOf": [
      +          {
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "variantKey": {
      +        "anyOf": [
      +          {
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      }
      +    },
      +    "required": [
      +      "label",
      +      "linkType"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "externalUrl": {
      +        "maxLength": 2048,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "icon": {
      +        "anyOf": [
      +          {
      +            "maxLength": 200,
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "iconPosition": {
      +        "enum": [
      +          "first",
      +          "last"
      +        ],
      +        "type": "string"
      +      },
      +      "label": {
      +        "maxLength": 160,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "linkType": {
      +        "const": "external",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "label",
      +      "linkType",
      +      "externalUrl"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. First observed

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, and destructiveHint=false, so safety is covered structurally. The description does add real value by disclosing that published landing pages are re-published as a side effect, but it never says whether omitted fields are cleared or preserved on update, which matters for an idempotent tool.

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?

Two short sentences with no filler, but the prerequisite sentence is placed ahead of the purpose sentence, so the agent reads boilerplate before learning what the tool does. Ordering could be inverted for better front-loading.

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 not be explained, and the priceless prerequisite instruction is arguably necessary. However, for a six-parameter mutation with only a third of its parameters documented, the description leaves substantive gaps around idempotency and partial-update behavior.

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 33% across six parameters, so the description must compensate and it does not. It says nothing about idempotencyKey retry semantics, teamId scoping, or how the items array with its internal/external linkType union is expected to be populated beyond what the raw schema shows.

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 states a specific verb+resource ("Update a menu") plus a concrete side effect ("refresh affected published landing pages"). It does not differentiate from closely named siblings such as menus_create, menus_delete, or menus_duplicate, so it falls short of a 5.

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?

The only guidance is a prerequisite to read agent.instructions.get; there is no statement of when to choose this tool over menus_create, menus_duplicate, or menus_resolve. An agent must infer update-vs-create semantics from the name alone.

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