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

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and idempotentHint, so the description's additional value is the polling behavior and the fact that it may return early with timed_out=true, followed by a safe retry. This adds context beyond the structured annotations and is consistent with them.

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 two sentences, front-loaded with the core purpose and followed by a brief retry instruction. Every word earns its place; no fluff or redundancy.

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 simple polling tool, the description covers the essential behavior (poll until state change or timeout) and the retry action on timeout. It does not explain the full return structure, but without an output schema and given the simplicity, this is sufficient. Minor gaps remain about auth parameter selection, but those are partially covered in the schema.

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?

The description references 'timeout expires,' which arguably maps to the timeout_seconds parameter, but it does not explain the undocumented session_id parameter or clarify the relationship between url, session_id, and access_token. With only 60% schema description coverage and no compensating detail in the description, parameter semantics are under-served.

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 polls until the intake leaves processing or timeout expires, which is a specific verb (poll) with a resource (intake) and termination condition. This distinguishes it from siblings like get_intake_state that likely return the current state without blocking.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives a clear retry instruction for timeouts ('If timed_out is true, call wait_for_next_action again'), which is useful. However, it does not explicitly contrast with alternatives like get_intake_state or state when not to use this tool, so usage context is only implied.

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

A3.5/5.0
Disambiguation4/5

Most tools have clearly distinct purposes, such as answer_fields vs answer_question or the various intake actions. However, get_case, get_case_package, and get_case_workspace all retrieve case-related information and could be confused, and create_connector vs create_connector_from_openapi are similar. Overall, descriptions help separate them.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern in snake_case, such as create_, get_, list_, save_, submit_, upload_, and wait_. The naming is highly predictable and uniform across the set.

Tool Count4/5

With 20 tools, the server is slightly above the typical well-scoped range of 3-15 but still reasonable for a case-management platform covering intake, review, connectors, and workflows. Each tool serves a distinct function, though some consolidation could be possible.

Completeness4/5

The tool surface covers the main intake, case review, and connector lifecycle well. Minor gaps exist: there is no explicit tool to complete or reopen a case, and workflows cannot be published or activated after saving a draft. These are workable but notable omissions.

Resources