Skip to main content
Glama

Wait for next intake action

wait_for_next_action
Read-onlyIdempotent

Poll until the intake leaves processing or the timeout expires. If timed_out is true, call wait_for_next_action again.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNoSigned hosted intake URL. Include it in every call to the hosted MCP endpoint.
session_idNo
access_tokenNoApplicant access token. Use it with session_id instead of url.
api_base_urlNoOptional Klarefi deployment URL for local stdio use. The hosted MCP endpoint does not accept this override.
timeout_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and idempotentHint=true. The description supplements this by revealing the polling loop and timeout behavior, which is valuable context. No contradiction exists with annotations.

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?

The description is extremely concise—two sentences—with the primary action front-loaded. Every word earns its place, containing no fluff or repetition.

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?

The description covers the core behavior (polling condition, timeout handling) and hints at the response via 'timed_out'. However, it does not describe the full response shape or provide guidance on parameter usage, leaving some gaps for a read-only polling tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 60%, leaving session_id and timeout_seconds undocumented. The description does not explain any parameters or add meaning beyond the schema, failing to compensate for the missing parameter details.

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 function: 'Poll until the intake leaves processing or the timeout expires.' This specifies a unique verb (poll), resource (intake), and condition, distinguishing it from sibling tools like get_intake_state or submit_intake.

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 usage context by defining when to poll and how to handle timeouts ('If timed_out is true, call wait_for_next_action again'). However, it does not mention alternatives or when not to use this tool, so it falls short of explicit exclusion guidance.

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