Skip to main content
Glama

toast_graphql

Read-onlyIdempotent

Run read-only GraphQL queries against Toast's online-ordering gateway through your signed-in browser to explore fields the dedicated tools don't cover, returning raw data and errors.

Instructions

Run a read-only GraphQL QUERY against Toast's online-ordering gateway (ws-api.toasttab.com/do-federated-gateway) through your signed-in browser, and return its raw data and errors. For exploring fields the dedicated tools don't cover yet. Mutations and subscriptions are refused. Known-good operations: nearbyRestaurants(input:{diningOption,fulfillmentDateTime,latitude,longitude,radius}) and menusV3(input:{restaurantGuid,visibility}). Validation errors name the fields the schema lacks — use them to correct the query rather than guessing repeatedly.

Input Schema

NameRequiredDescriptionDefault
queryYesGraphQL document containing only queries/fragments.
variablesNoVariables object, if the document declares any.
operation_nameNoWhich operation to run, if the document has several.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/openWorld, but the description adds real behavior the annotations cannot: enforcement of query-only documents, return of raw data *and* errors, dependency on a signed-in browser session, and the error-recovery contract ('validation errors name the fields the schema lacks'). Missing only volume concerns (rate limits, response size, whether the 8000-char cap applies to variables too).

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?

Front-loads what it does and where, then scope restriction, then examples, then error-handling advice — a natural call order. Every sentence carries actionable content, with no restatement of the tool name or filler.

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?

With no output schema, the description steps in to say it returns raw data and errors, and it covers the biggest failure mode (schema validation errors) with a concrete recovery strategy. For an open-ended escape-hatch tool, nothing an agent needs before calling it is absent.

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 schema already defines query/variables/operation_name; the description adds meaning beyond it by naming valid operation shapes (nearbyRestaurants, menusV3 with their input fields) and by framing the query param as accepting fragments only. It adds query-construction guidance the schema cannot express.

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 ('run a read-only GraphQL query against Toast's online-ordering gateway'), names the concrete endpoint, and explicitly positions itself against the sibling set ('for exploring fields the dedicated tools don't cover yet'). An agent can distinguish this from toast_find_restaurants/toast_get_menu without opening any 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?

Gives an explicit trigger ('exploring fields the dedicated tools don't cover yet') plus an explicit exclusion ('mutations and subscriptions are refused'), which steers agents toward the typed sibling tools for known use cases. Known-good operation names with their input shapes give a concrete starting point rather than open-ended guessing.

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