Skip to main content
Glama

Read what is waiting on the merchant

readWaitingItems
Read-onlyIdempotent

Everything waiting for the merchant right now, from every agent, in the order it matters: proposals to approve, questions only they can answer, and things to go and do. Read it before telling them what needs them. items is one page; total and byAgent count everything waiting, so say how many from those, never by counting the page. next gives the page after, when there is more.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "readWaitingItems"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
cursorNoFor the next page: the `next` value the previous page returned. Leave it out for the first page.
workspaceIdNoThe workspace, as listWorkspaces gives it (its id or slug). Leave it out when this connection reaches one workspace.

Output Schema

NameRequiredDescriptionDefault
nextYes
itemsYes
totalYes
byAgentYes
bySourceYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / byAgent
      Added value: +{
      +  "additionalProperties": {
      +    "minimum": 0,
      +    "type": "integer"
      +  },
      +  "type": "object"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "total",
      -  "bySource",
      -  "items",
      -  "next"
      -]New value: +[
      +  "total",
      +  "bySource",
      +  "byAgent",
      +  "items",
      +  "next"
      +]
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the description's burden is lighter. It still adds real behavioral context the annotations cannot: results are priority-ordered, `items` is a single page while `total` and `byAgent` are whole-corpus counts, and `next` signals more pages — including an explicit warning against counting the page. No rate limits or error behavior, but this is meaningful beyond structured fields.

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 tight sentences: purpose first, then the counting caveat, then pagination. Every clause carries information an agent would otherwise get wrong, and the backticked field names make the output semantics skimmable.

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?

For a read-only, zero-required-parameter list tool with an output schema, this covers what an agent needs: what comes back, how items are ordered, why totals differ from page length, and how to fetch the next page. Nothing essential for a correct call is missing.

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 description coverage is 67%, with cursor and workspaceId already documented in the schema. The description reinforces pagination meaning ('`items` is one page', '`next` gives the page after') but never explains `limit` — its default, maximum, or how page size interacts with the returned page. Baseline is appropriate; it neither compensates for nor worsens the partial coverage.

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 names a specific resource and scope: everything waiting for the merchant, aggregated across every agent, broken into three concrete categories (proposals to approve, questions, things to do). That aggregation and priority ordering distinguish it from the per-item siblings like readAnswers or readStatus without needing to name them.

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?

'Read it before telling them what needs them' gives a clear triggering condition for when to call this tool, and the priority ordering implies it is the entry point for a 'what needs attention' question. It stops short of naming when not to use it or pointing to a specific alternative for single-category reads.

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