Skip to main content
Glama

Call the next number

call_next_number

Call the next number of a Now Serving app, as its pedal does.

When to use:

  • A person asks to call the next customer at a counter.

When NOT to use:

  • Setting the app up or changing its numbers: use update_items kind apps.

What to know:

  • The number goes up by one on every screen that shows the app. Needs screen.edit.

Parameters:

  • Example: {appId:"app_queue", counter:"Desk 1", screenId:"scr_7"}.

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": {
      "appId": "<appId>"
    },
    "name": "call_next_number"
  }
}

Input Schema

NameRequiredDescriptionDefault
appIdYesThe Now Serving app. Ids come from list_items kind apps.
counterNoOne of the app's counters. Leave it out when the app lists none.
screenIdNoOne screen that gets the action. A screen id comes from list_items kind screens.
screenIdsNoThe screens that get the action, when there are several. Combined with screenId into one set; each screen gets it once.

Output Schema

NameRequiredDescriptionDefault
queuedNoHow many screens or devices it was sent to.
notSentNoThe screens or devices it was not sent to, and why.
commandIdsNoIds of what was sent, one per screen.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations only declare non-read-only, non-idempotent, non-destructive and open-world; the description adds the non-obvious behavior that the number advances on every screen showing the app and that screen.edit permission is required. It stops short of describing failure modes or what happens if no counter is active, but the mutation scope and permission requirement are exactly the context annotations cannot convey.

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?

Front-loaded one-line purpose followed by clearly labeled when/when-not/what-to-know sections; no filler. Minor blemish: the 'Parameters' section contains only a single mislabeled 'Example' entry rather than actual parameter guidance.

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?

An output schema exists, so return values need not be explained, and the description covers usage, permission, and effect. What remains unsaid is negligible for a one-required-parameter action tool.

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?

Schema coverage is 100%, so all four parameters are already documented, including how screenId and screenIds merge into one set. The description's example object restates appId/counter/screenId usage without adding constraints beyond the schema, so baseline 3 applies.

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?

Names a specific action (advance the Now Serving number) on a specific resource, and the analogy 'as its pedal does' pins down the effect precisely. It is clearly differentiated from update_items, which handles configuration rather than calling.

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?

Explicit when-to-use ('a person asks to call the next customer at a counter') and an explicit when-not-to-use that routes configuration work to update_items kind apps. Nothing is left to inference.

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