{
  "tool": {
    "slug": "restaurant-menu-margin-hints",
    "title": "Restaurant Menu Margin Hints",
    "category": "Industry: Hospitality",
    "description": "Review menu items for pricing gaps, ingredient cost pressure, upsell candidates, and confusing descriptions.",
    "buyerIntent": "Use when a restaurant or delivery-commerce agent needs fast menu optimization hints.",
    "tokenValue": "Produces margin and copy suggestions from a small menu sample.",
    "method": "POST",
    "rawBlueprintSlug": "seo-content-audit-pipeline",
    "priceUSDC": 0.006,
    "latencyTargetMs": 280,
    "status": "live-preview",
    "tags": [
      "restaurant",
      "menu",
      "margin",
      "hospitality"
    ],
    "requestSchema": {
      "type": "object",
      "required": [
        "subject"
      ],
      "properties": {
        "subject": {
          "type": "string",
          "description": "Company, page, API, document, product, dataset, or decision being scored."
        },
        "context": {
          "type": "string",
          "description": "Compact notes, extracted text, rows summary, page copy, or structured brief."
        },
        "url": {
          "type": "string"
        },
        "data": {
          "type": "object",
          "description": "Optional structured facts, metrics, rows, or extracted fields."
        },
        "signals": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "goal": {
          "type": "string",
          "description": "Decision the buying agent wants to make."
        },
        "constraints": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "timeframe": {
          "type": "string"
        },
        "market": {
          "type": "string"
        },
        "currency": {
          "type": "string"
        }
      }
    },
    "responseSchema": {
      "type": "object",
      "properties": {
        "tool": {
          "type": "string"
        },
        "subject": {
          "type": "string"
        },
        "score": {
          "type": "integer"
        },
        "grade": {
          "type": "string"
        },
        "confidence": {
          "type": "string"
        },
        "findings": {
          "type": "array",
          "items": {
            "type": "object"
          }
        },
        "priorityActions": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "missingInputs": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "machineActions": {
          "type": "array",
          "items": {
            "type": "object"
          }
        },
        "evidenceRequests": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "monetizationAngle": {
          "type": "string"
        }
      }
    },
    "sampleRequest": {
      "subject": "Cafe breakfast menu",
      "context": "Menu has item prices, estimated ingredient cost, prep time, and top sellers.",
      "goal": "Find price and bundle opportunities."
    },
    "sampleResponse": {
      "tool": "restaurant-menu-margin-hints",
      "subject": "Cafe breakfast menu",
      "score": 78,
      "grade": "B",
      "confidence": "medium",
      "findings": [
        {
          "id": "input-coverage",
          "status": "warn",
          "severity": "medium",
          "message": "Restaurant Menu Margin Hints has enough context for first-pass triage, but live evidence would improve confidence."
        }
      ],
      "priorityActions": [
        "Add source URLs or structured data for higher-confidence scoring.",
        "Expose the result as JSON so downstream agents can act without parsing prose."
      ],
      "missingInputs": [
        "sourceUrls",
        "freshMetrics"
      ],
      "machineActions": [
        {
          "action": "collect_evidence",
          "target": "sourceUrls",
          "priority": "high"
        }
      ],
      "evidenceRequests": [
        "Provide compact facts, source URLs, and any hard numeric metrics."
      ],
      "monetizationAngle": "A small paid triage result can save one or more model calls when the buyer only needs a ranked decision."
    },
    "endpoint": "/api/v1/agent-tools/restaurant-menu-margin-hints/",
    "absoluteEndpoint": "https://elpa.space/api/v1/agent-tools/restaurant-menu-margin-hints/",
    "pageUrl": "https://elpa.space/agent-tools/#restaurant-menu-margin-hints",
    "rawBlueprintUrl": "https://elpa.space/raw/seo-content-audit-pipeline",
    "priceLabel": "0.006 USDC"
  },
  "payment": {
    "protocol": "x402",
    "implementation": "x402 v2 exact EVM facilitator with legacy Base USDC transaction-hash fallback",
    "network": "Base",
    "networkCaip2": "eip155:8453",
    "currency": "USDC",
    "tokenContract": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
    "recipientAddress": "0xd9d6ae1d5a2128fea511460fac8e4dea58baf153",
    "paymentHeaders": [
      "PAYMENT-SIGNATURE",
      "X-PAYMENT",
      "x402-tx-hash (legacy)"
    ],
    "challengeHeader": "PAYMENT-REQUIRED",
    "responseHeader": "PAYMENT-RESPONSE",
    "facilitatorEnv": [
      "X402_FACILITATOR_URL",
      "X402_FACILITATOR_AUTHORIZATION"
    ],
    "maxTimeoutSeconds": 120,
    "priceUSDC": 0.006,
    "x402": {
      "x402Version": 2,
      "resource": {
        "url": "https://elpa.space/api/v1/agent-tools/restaurant-menu-margin-hints/",
        "description": "Review menu items for pricing gaps, ingredient cost pressure, upsell candidates, and confusing descriptions.",
        "mimeType": "application/json",
        "serviceName": "ELPA Agent Tools",
        "tags": [
          "restaurant",
          "menu",
          "margin",
          "hospitality"
        ],
        "iconUrl": "https://elpa.space/logo.svg"
      },
      "accepts": [
        {
          "scheme": "exact",
          "network": "eip155:8453",
          "amount": "6000",
          "asset": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
          "payTo": "0xd9d6ae1d5a2128fea511460fac8e4dea58baf153",
          "maxTimeoutSeconds": 120,
          "extra": {
            "name": "USDC",
            "version": "2",
            "decimals": 6
          }
        }
      ],
      "paymentRequired": {
        "x402Version": 2,
        "error": "PAYMENT-SIGNATURE header is required",
        "resource": {
          "url": "https://elpa.space/api/v1/agent-tools/restaurant-menu-margin-hints/",
          "description": "Review menu items for pricing gaps, ingredient cost pressure, upsell candidates, and confusing descriptions.",
          "mimeType": "application/json",
          "serviceName": "ELPA Agent Tools",
          "tags": [
            "restaurant",
            "menu",
            "margin",
            "hospitality"
          ],
          "iconUrl": "https://elpa.space/logo.svg"
        },
        "accepts": [
          {
            "scheme": "exact",
            "network": "eip155:8453",
            "amount": "6000",
            "asset": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
            "payTo": "0xd9d6ae1d5a2128fea511460fac8e4dea58baf153",
            "maxTimeoutSeconds": 120,
            "extra": {
              "name": "USDC",
              "version": "2",
              "decimals": 6
            }
          }
        ],
        "extensions": {
          "bazaar": {
            "info": {
              "discoverable": true,
              "category": "Industry: Hospitality",
              "tags": [
                "restaurant",
                "menu",
                "margin",
                "hospitality"
              ],
              "input": {
                "subject": "Cafe breakfast menu",
                "context": "Menu has item prices, estimated ingredient cost, prep time, and top sellers.",
                "goal": "Find price and bundle opportunities."
              },
              "output": {
                "tool": "restaurant-menu-margin-hints",
                "subject": "Cafe breakfast menu",
                "score": 78,
                "grade": "B",
                "confidence": "medium",
                "findings": [
                  {
                    "id": "input-coverage",
                    "status": "warn",
                    "severity": "medium",
                    "message": "Restaurant Menu Margin Hints has enough context for first-pass triage, but live evidence would improve confidence."
                  }
                ],
                "priorityActions": [
                  "Add source URLs or structured data for higher-confidence scoring.",
                  "Expose the result as JSON so downstream agents can act without parsing prose."
                ],
                "missingInputs": [
                  "sourceUrls",
                  "freshMetrics"
                ],
                "machineActions": [
                  {
                    "action": "collect_evidence",
                    "target": "sourceUrls",
                    "priority": "high"
                  }
                ],
                "evidenceRequests": [
                  "Provide compact facts, source URLs, and any hard numeric metrics."
                ],
                "monetizationAngle": "A small paid triage result can save one or more model calls when the buyer only needs a ranked decision."
              }
            },
            "schema": {
              "type": "object",
              "properties": {
                "discoverable": {
                  "type": "boolean"
                },
                "category": {
                  "type": "string"
                },
                "tags": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "input": {
                  "type": "object",
                  "required": [
                    "subject"
                  ],
                  "properties": {
                    "subject": {
                      "type": "string",
                      "description": "Company, page, API, document, product, dataset, or decision being scored."
                    },
                    "context": {
                      "type": "string",
                      "description": "Compact notes, extracted text, rows summary, page copy, or structured brief."
                    },
                    "url": {
                      "type": "string"
                    },
                    "data": {
                      "type": "object",
                      "description": "Optional structured facts, metrics, rows, or extracted fields."
                    },
                    "signals": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "goal": {
                      "type": "string",
                      "description": "Decision the buying agent wants to make."
                    },
                    "constraints": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "timeframe": {
                      "type": "string"
                    },
                    "market": {
                      "type": "string"
                    },
                    "currency": {
                      "type": "string"
                    }
                  }
                },
                "output": {
                  "type": "object",
                  "properties": {
                    "tool": {
                      "type": "string"
                    },
                    "subject": {
                      "type": "string"
                    },
                    "score": {
                      "type": "integer"
                    },
                    "grade": {
                      "type": "string"
                    },
                    "confidence": {
                      "type": "string"
                    },
                    "findings": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "priorityActions": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "missingInputs": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "machineActions": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "evidenceRequests": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "monetizationAngle": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        }
      },
      "paymentRequiredBase64": "eyJ4NDAyVmVyc2lvbiI6MiwiZXJyb3IiOiJQQVlNRU5ULVNJR05BVFVSRSBoZWFkZXIgaXMgcmVxdWlyZWQiLCJyZXNvdXJjZSI6eyJ1cmwiOiJodHRwczovL2VscGEuc3BhY2UvYXBpL3YxL2FnZW50LXRvb2xzL3Jlc3RhdXJhbnQtbWVudS1tYXJnaW4taGludHMvIiwiZGVzY3JpcHRpb24iOiJSZXZpZXcgbWVudSBpdGVtcyBmb3IgcHJpY2luZyBnYXBzLCBpbmdyZWRpZW50IGNvc3QgcHJlc3N1cmUsIHVwc2VsbCBjYW5kaWRhdGVzLCBhbmQgY29uZnVzaW5nIGRlc2NyaXB0aW9ucy4iLCJtaW1lVHlwZSI6ImFwcGxpY2F0aW9uL2pzb24iLCJzZXJ2aWNlTmFtZSI6IkVMUEEgQWdlbnQgVG9vbHMiLCJ0YWdzIjpbInJlc3RhdXJhbnQiLCJtZW51IiwibWFyZ2luIiwiaG9zcGl0YWxpdHkiXSwiaWNvblVybCI6Imh0dHBzOi8vZWxwYS5zcGFjZS9sb2dvLnN2ZyJ9LCJhY2NlcHRzIjpbeyJzY2hlbWUiOiJleGFjdCIsIm5ldHdvcmsiOiJlaXAxNTU6ODQ1MyIsImFtb3VudCI6IjYwMDAiLCJhc3NldCI6IjB4ODMzNTg5ZmNkNmVkYjZlMDhmNGM3YzMyZDRmNzFiNTRiZGEwMjkxMyIsInBhe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JyYXkiLCJpdGVtcyI6eyJ0eXBlIjoic3RyaW5nIn19LCJtaXNzaW5nSW5wdXRzIjp7InR5cGUiOiJhcnJheSIsIml0ZW1zIjp7InR5cGUiOiJzdHJpbmcifX0sIm1hY2hpbmVBY3Rpb25zIjp7InR5cGUiOiJhcnJheSIsIml0ZW1zIjp7InR5cGUiOiJvYmplY3QifX0sImV2aWRlbmNlUmVxdWVzdHMiOnsidHlwZSI6ImFycmF5IiwiaXRlbXMiOnsidHlwZSI6InN0cmluZyJ9fSwibW9uZXRpemF0aW9uQW5nbGUiOnsidHlwZSI6InN0cmluZyJ9fX19fX19fQ==",
      "facilitator": {
        "url": "https://api.cdp.coinbase.com/platform/v2/x402",
        "verify": "/verify",
        "settle": "/settle"
      },
      "legacy": {
        "enabled": true,
        "header": "x402-tx-hash",
        "note": "Legacy Base USDC transaction-hash receipts remain accepted for manual testing, but PAYMENT-SIGNATURE is the primary x402 path."
      }
    }
  }
}