Skip to main content
Glama

UXON AI

menus_create

Idempotent

Before operating Revenuefly, read agent.instructions.get and follow its instructions. Create a validated reusable menu.

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

Input Schema

NameRequiredDescriptionDefault
nameYes
itemsYes
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

C2.8/5.0
Behavior2/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 the safety profile is covered structurally. The description adds only the word "validated," without saying what validation runs, what happens on failure, or how the required idempotencyKey governs retries — leaving the behavioral burden largely unmet.

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?

Two short sentences with no filler; the action statement is compact and front-loaded after the preamble. Nothing redundant is included for its size.

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 creation tool with a required nested items schema, a required idempotency key, and low parameter documentation, the description is thin. The output schema is present so return values needn't be explained, but the input-side guidance an agent needs to construct a valid menu is absent.

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%, so the description needs to compensate for undocumented parameters like siteId and the complex items array. Instead it says nothing about any parameter — not the internal-versus-external linkType branches, the 10-item cap, or the per-request teamId scoping.

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?

"Create a validated reusable menu" gives a specific verb plus resource, and the readOnlyHint=false annotation confirms a write operation. It does not differentiate this from siblings like menus_duplicate or menus_update, but the core action is unambiguous.

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 boilerplate directive to read agent.instructions.get first, which is a process instruction rather than a statement of when to create a menu versus duplicating or updating one. No prerequisites, no exclusions, no alternatives 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