Skip to main content
Glama
Crawlora-org

Crawlora MCP

Official

papajohns_intl_offer

Get the full composition of a Papa John's international offer: price, choice steps, eligible products with surcharges, and ingredient rules, for six markets using the offer id.

Instructions

Get one Papa John's offer's composition (international). Returns one promotional offer's full composition in one of six international markets: Chile, Costa Rica, Guatemala, Panama, Portugal, and Spain. This is what a promotion banner from GET /papajohns/intl/deals actually contains: the offer's own price, each choice step a customer works through in order (e.g. "pick your family pizza", "pick a side"), and every product eligible at that step with the surcharge picking it adds. It also carries the offer's ingredient rules -- how many extras are free, the minimum and maximum that may be chosen, and which ingredient families are allowed. Offer ids come from the offer_id field on a deal.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
marketYesMarket. One of: chile, costa-rica, guatemala, panama, portugal, spain
offer_idYesOffer id from the offer_id field on GET /papajohns/intl/deals

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.17.5
    • addedInput schema / properties / market / enum
      Added value: +[
      +  "chile",
      +  "costa-rica",
      +  "guatemala",
      +  "panama",
      +  "portugal",
      +  "spain"
      +]
  2. Addedv1.16.2

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden. It discloses the nature of the operation (a read-only fetch of offer composition) and details what is returned: price, choice steps, eligible products with surcharges, and ingredient rules. It does not mention any side effects, authentication, or error handling, but the description clearly indicates a non-mutating data retrieval, and it gives a comprehensive overview of the response content, which is sufficient for the agent to anticipate results.

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?

The description is moderately long but front-loaded with the core purpose. It uses an example ('pick your family pizza') to clarify the choice-step concept and explains the ingredient rules clearly. Each sentence adds value; there is no redundancy. It could be tightened slightly, but it remains efficient and well-structured.

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?

Given the tool's complexity (two parameters, no output schema, no annotations), the description covers the essential context: it explains the input sources, the output contents, and the scope. It doesn't specify the exact JSON structure or pagination, but since there is no output schema, the description's breakdown of components (price, steps, products, surcharges, ingredient rules) gives the agent a strong understanding of what to expect. It is nearly complete for a simple offer-lookup tool.

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?

The schema already provides descriptions for both parameters (market enum and offer_id with reference to the deals endpoint), achieving 100% coverage. The description adds meaningful context beyond the schema by explaining what the offer_id is (from a deal) and clarifying that the market parameter restricts to the six listed countries. It also explains what the returned data contains, which helps the agent understand the meaning of the offer_id in practice.

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?

The description clearly states the tool's verb, resource, and scope: 'Get one Papa John's offer's composition (international).' It also enumerates the exact markets and explains what the output contains (price, choice steps, eligible products, ingredient rules), distinguishing it from siblings like papajohns_intl_deals (which lists deals) and papajohns_intl_product (which would return product-level data). The purpose is specific and unambiguous.

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

Usage Guidelines4/5

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

The description provides clear context for when to use this tool: it explains that offer ids come from the offer_id field on a deal from GET /papajohns/intl/deals, and describes that this tool returns the detailed composition of a single offer. It does not explicitly contrast with alternatives (e.g., papajohns_intl_product), but the scenario is implied well enough for an agent to infer when to call it. Missing explicit 'use this when...' guidance, but the context is strong.

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