Skip to main content
Glama

Quantum Atlas Destination Food Hub & Group Table

Compile Raw Menu Text/HTML into atlas.agent_menu.v2 ($0.10)

food_compile_structured_menu
Idempotent

Use this to convert raw unstructured restaurant menu text, Markdown, HTML, or OCR lines into a normalized atlas.agent_menu.v2 JSON package ($0.10) with menu_sha256 and dietary_index. Do not use this to read an already onboarded venue's menu (use food_get_venue_menu for free). Behavior: costs $0.10 via Stripe sbk_* spend key or Base USDC x402; never auto-publishes without written owner consent.

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": {
      "venue_name": "<venue_name>",
      "raw_menu_text": "<raw_menu_text>"
    },
    "name": "food_compile_structured_menu"
  }
}

Input Schema

NameRequiredDescriptionDefault
spend_keyNoOptional Stripe-funded master or delegated spend key (sbk_*) for paid attested execution. Also accepted via the x-atlas-spend-key HTTP header.
source_urlNoOptional official menu URL for provenance.
venue_nameYesRestaurant or venue display name.
business_idNoOptional stable business_id slug.
destinationNoDestination identifier slug (e.g. "annapolis", "ocean_city", "kill_devil_hills", "falmouth", "kingston"). Optional when connected to a per-destination endpoint like /food/annapolis/mcp.
builder_codeNoOptional registered ERC-8021 partner builder_code for disclosed post-settlement revenue attribution (also accepted via x-atlas-builder-code header).
raw_menu_textYesRaw unstructured menu text, Markdown, HTML snippet, or OCR lines with section headings and item prices.
idempotency_keyNoOptional Idempotency-Key for safe retries without double billing.
direct_order_urlNoOptional first-party direct ordering URL.
payment_signatureNoOptional Base Mainnet USDC x402 v2 PAYMENT-SIGNATURE header value when paying with a crypto wallet instead of a Stripe spend key.

Output Schema

NameRequiredDescriptionDefault
okYes
menu_sha256No
compiled_menuNo
publication_statusNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so the mutation and retry profile is partly covered. The description adds context the annotations cannot convey: the $0.10 cost, the two payment paths (Stripe sbk_* spend key or Base USDC x402), and the consent safeguard before publishing. It does not elaborate on what the output package contains, but an output schema exists, so that omission is minor.

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 sentences, front-loaded with the primary use case, followed by the exclusion and then the payment/consent behavior. Every sentence carries distinct, decision-relevant information with no padding.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a paid write tool with ten parameters, this is complete: purpose, exclusion, cost, payment mechanism, idempotent retry support (via schema), and a consent safeguard are all stated. The presence of an output schema and 100% parameter coverage means no further explanation of inputs or return values is required.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, and the description adds meaning above that: it clarifies the accepted raw text formats and ties spend_key and payment_signature to the paid-execution model. It does not explain destination, business_id, or builder_code beyond what the schema already documents.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: convert raw unstructured restaurant menu text, Markdown, HTML, or OCR lines into a normalized atlas.agent_menu.v2 JSON package. It also names the output artifacts (menu_sha256, dietary_index) and explicitly distinguishes itself from food_get_venue_menu, so an agent can route without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Provides an explicit 'Use this to' condition and an explicit 'Do not use this to read an already onboarded venue's menu', naming the free alternative food_get_venue_menu. This is the when/when-not/alternative pattern at full strength.

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