Skip to main content
Glama

UXON AI

menus_items_validate

Read-onlyIdempotent

Before operating Revenuefly, read agent.instructions.get and follow its instructions. Validate proposed ordered menu items and return target warnings.

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

Input Schema

NameRequiredDescriptionDefault
itemsYes
siteIdYes
teamIdNoTarget organization ID from organizations_list. Applies to this request only.

Output Schema

NameRequiredDescriptionDefault
okNo
dataYes
scopeYes
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.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, idempotentHint=true and openWorldHint=false, so the safety profile is fully covered without the description. 'Return target warnings' adds a small amount of information about the response, though an output schema exists and is not referenced. Nothing is said about what a failing validation does or whether it mutates anything.

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?

The operational sentence is tight and front-loadable. However, the opening sentence about reading agent.instructions.get consumes roughly half the text and describes a global ritual, not this tool, so it dilutes rather than sharpens the definition.

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?

The output schema and annotations relieve the description of explaining the response and the safety profile. Still, the description never says what counts as a 'target warning', whether items must be non-empty or bounded, or which fields are required, leaving genuine gaps for a validate tool with a nested payload.

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%: only teamId carries a description. The items array is the substantive parameter, with a oneOf internal/external shape and undocumented fields, and the description contributes only 'ordered', which does convey that the sequence of items matters. That is a real detail, but it does not compensate for the many undocumented fields at low schema coverage.

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 and resource: 'Validate proposed ordered menu items and return target warnings.' That distinguishes it from the other payload_validate siblings and from menus_items_options, which appears to supply options rather than validate a payload. It does not explicitly name any sibling, which keeps it 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 Guidelines3/5

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

'Proposed' implies a pre-flight check before menus_create or menus_update, but that workflow is only inferred. The only directive given is the 'read agent.instructions.get' preamble, which is a general operating rule rather than when-to-use guidance for this tool. No exclusions or 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