Skip to main content
Glama
S-CurveLabs

letin

Official
by S-CurveLabs

evaluate_steps

Read-only

Identify where a query breaks or transforms by evaluating every step in a single call. Get columns, types, first rows, or error for each step to pinpoint issues.

Instructions

Evaluate EVERY step of a query in one engine call and describe each one (columns, types, first rows rows, or the error). The fastest way to see how a query transforms its data and to find the step where an error first appears: one call instead of evaluate_query once per step.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rowsNo
queryYes
sourceYes
timeout_secondsNo
ignore_privacy_levelsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4/5.0
Behavior4/5

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

With readOnlyHint=true in annotations, the description goes beyond that by detailing the output behavior: it describes each step's columns, types, first rows, or the error. This adds meaningful context about what the tool returns, which is not captured in the annotation alone. No contradiction with the readOnlyHint.

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 tightly written in two sentences, with the core function and output immediately clear. The benefit statement is concise and adds value without redundancy. Every word earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with 5 parameters and no output schema, the description provides a good overview of the tool's purpose and output format, but leaves key parameter details (especially ignore_privacy_levels and timeout_seconds) unaddressed. The output structure is described in general terms but not precisely enough for an agent to know exactly what to expect without further context. It's adequate but not fully complete.

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 0%, so the description must explain parameters. It only mentions `rows` (as 'first `rows` rows'), clarifying its role in limiting the displayed rows. However, it says nothing about source, query, timeout_seconds, or ignore_privacy_levels, leaving those ambiguous. This partial explanation does not adequately compensate for the lack of 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 states the tool evaluates every step of a query in one call, listing exactly what it describes (columns, types, first rows, or error). It also distinguishes itself from evaluate_query by highlighting that it's a single call instead of one per step, making its purpose unmistakable.

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 explicitly tells when to use this tool: to see how a query transforms data and find the first error step, framing it as faster than calling evaluate_query repeatedly. It clearly points to the alternative (evaluate_query) and the advantage, even if it doesn't list explicit conditions for when not to use it—the guidance is sufficient.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.