Skip to main content
Glama

login

Start signing the user in to a restaurant so they can place orders. Browsing the menu never needs this — only ordering and saving an address do. Returns a URL the user must open in a browser to sign in with Google or Apple; afterwards they copy the 'code' value from the address bar and you call submit_login_code. Each restaurant has its own login, so this must be done per restaurant.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
clientIdNoclientId of the restaurant to sign in to, from a list_vendors result. Omit only when the server is configured for a single restaurant.

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the disclosure burden. It explains the two-step browser flow, that a URL is returned, that the user must open it, and that a code must be copied and passed to submit_login_code. It stops short of describing session/expiry behavior or potential errors, so it is not a 5, but it is substantially transparent.

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?

Three sentences, each earning its place: the purpose, when it is and is not needed, and the exact multi-step protocol. The most important scoping constraints are front-loaded, and there is no filler.

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 multi-step authentication flow with no output schema, the description explains the returned URL, the external browser interaction, the code extraction, the next sibling to call, and the per-restaurant constraint. Minor gaps remain around expiration, errors, and what happens on repeated calls, but an agent has enough to invoke it correctly.

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?

The schema already documents clientId with meaningful context, and the description does not add parameter-specific detail. However, the description's per-restaurant note reinforces why clientId matters. With 100% schema coverage, baseline 3 is appropriate.

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 action ('Start signing the user in'), the resource (a restaurant), and the overall goal (place orders). Clearly distinguishes itself from the sibling submit_login_code by positioning this as the first step that returns a URL, and notes that browsing the menu never requires it.

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?

Explicitly says when login is needed ('only ordering and saving an address do'), when it is not needed ('Browsing the menu never needs this'), and gives the follow-up step ('you call submit_login_code'). It also warns that login is per restaurant, which prevents a common misuse.

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.

TDQS

A4.4/5.0
Disambiguation5/5

Each tool targets a distinct action and resource: order status vs. order staging vs. order placement, vendor discovery vs. menu retrieval, and login initiation vs. code submission. There is no overlap or ambiguity; even sequential tools like prepare_order and place_order are clearly separated by their purpose.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern with lowercase and underscores (e.g., check_order, list_vendors, prepare_order). Even the login and logout tools fit the pattern as single verbs, and there is no mixing of conventions.

Tool Count5/5

With 10 tools, the surface is well-scoped for a restaurant ordering domain. It covers discovery, menu browsing, account management, login flow, order staging, placement, and status checking without feeling bloated or too thin.

Completeness4/5

The core ordering lifecycle is covered end-to-end (vendor -> menu -> login -> prepare -> place -> check). The only noticeable gaps are the absence of an explicit address-saving tool (though referenced in the login description) and no order cancellation or update capability, though these may be out of scope for typical ordering workflows.

Resources