Skip to main content
Glama

x402_meals_get_v1_random

Retrieve a random meal recipe from TheMealDB to get dish ideas or sample recipe data. The paid GET request settles in USDC on supported EVM chains.

Instructions

meals — Recipes via TheMealDB (free tier) [GET /v1/random] $0.005 USDC on eip155:8453+137+42161+480. Example: /v1/random

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "x402_meals_get_v1_random"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoJSON body for POST/PUT/PATCH/DELETE
queryNoQuery parameters, e.g. {base:'USD', quote:'EUR'}
restartNoExplicitly re-run a previously failed/unknown operation. Never set for unknown outcomes unless you know the paid call did not complete.
operationIdNoDurable operation id for this intent. Supply a stable id (e.g. your job/run id) to dedupe retries; omit to derive one from the arguments.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description does add genuinely useful operational facts beyond the schema: per-call cost ($0.005 USDC), the four accepted chains (eip155:8453/137/42161/480), and that the upstream is TheMealDB's free tier (implying limited catalog). It does not disclose what the paid response contains, what happens on payment failure, or how 'random' behaves on repeat calls, so coverage is partial rather than complete.

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?

It is a single dense line that front-loads the resource and route, which is efficient. The trailing 'Example: /v1/random' is redundant with the bracketed '[GET /v1/random]' and is the only wasted token.

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 simple, zero-required-parameter random-retrieval endpoint whose wrapper parameters are fully documented in the schema, the description supplies purpose, price, and accepted networks. Only the response shape and payment-failure behavior are left unstated, which is a modest gap for a tool of this complexity.

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 100%, and all four parameters (body, query, restart, operationId) are documented in the schema itself, including the retry/dedupe semantics of operationId and restart. The description adds no parameter meaning at all, so the baseline 3 applies; it neither compensates nor detracts.

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 the resource ('Recipes via TheMealDB') and the specific endpoint ('GET /v1/random'), so an agent can infer it returns a single random recipe. This also distinguishes it reasonably well from the sibling endpoints '/v1/search' and '/v1/meal_id'. The only weakness is that the verb is implied by the bracketed route rather than stated in prose.

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 guidance, no named alternative, and no precondition stated. 'Example: /v1/random' restates the route and is not usage guidance. An agent must infer from the name alone that this is the no-argument, random-selection variant versus the search or meal_id siblings.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools