Skip to main content
Glama

Execute Session Step

origingrid_search_session_execute

Execute the next unexecuted step group in a search session. Pass the session_id from origingrid_search_session_create. Returns results for the current group and reports remaining groups. [ASRP: Call AFTER origingrid_search_session_create. Repeat until remaining_groups is 0.]

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_idYesSession ID from origingrid_search_session_create
retry_countNoNumber of retry attempts per step
step_timeoutNoPer-step timeout in seconds
batch_timeoutNoTotal batch timeout in seconds (max 90)

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

No annotations exist, so the description bears full responsibility. It discloses the step execution, result return, and remaining group reporting. It does not cover failure states, rate limits, or idempotency, but the loop pattern is well explained.

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?

Two concise sentences plus a bracketed instruction. No wasted words; front-loaded with the core action.

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?

Given no output schema, the description adequately explains return values (results and remaining groups) and the repeat pattern. Lacks error handling or edge case details, but sufficient for basic usage.

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 100%, so baseline is 3. The description reinforces the session_id parameter's source but does not add extra meaning to retry_count, step_timeout, or batch_timeout beyond their schema descriptions.

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 identifies the tool's purpose: executing the next unexecuted step group in a search session. It differentiates from sibling tools like origingrid_search_session_create by explicitly stating to pass its session_id, and from origingrid_search_session_status by describing the execution action.

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 instructions are provided: call after origingrid_search_session_create, repeat until remaining_groups is 0. This gives clear when-to-use and when-to-stop guidance, effectively distinguishing it from alternatives.

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