Skip to main content
Glama
MadameFabulous

Chainsaw MCP Server

Chainsaw: result fields

chainsaw_result_fields
Read-onlyIdempotent

Discover field paths in a result to project or group on them. Returns each dotted path with sample count and example value from a given handle.

Instructions

Discover the field paths present in a result so you can project or group on them.

Returns each dotted path with how many sampled rows carry it and an example value.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
handleYesResult handle returned by a hunt, search, dump or analysis tool.
sampleNoRows to sample.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, so the safety profile is covered. The description adds genuine behavioral detail beyond that: it is a sampling operation ('sampled rows') and returns counts plus an example per path, which the agent wouldn't know from annotations alone.

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 short sentences, output shape front-loaded first and the motivating use case second, with no filler.

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 2-param read-only tool with full schema coverage and no output schema, the description is nearly complete: it covers purpose, why to call it, and the shape of the return value. Only the relationship to overlapping siblings (e.g. result_summary) is left unaddressed.

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 coverage is 100% and both parameters are self-documented, so baseline is 3. The description's phrase 'sampled rows' loosely evokes the sample parameter but adds no syntax, bounds, or default information beyond the schema.

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?

States a specific verb and resource: discover the field paths present in a result. The 'so you can project or group on them' clause scopes the purpose to schema discovery rather than row retrieval, which inherently distinguishes it from the result_events/page/chunk siblings.

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?

Gives clear context for when to use it (before projecting or grouping) but names no alternatives or exclusions, so the agent must infer that siblings like result_summary or result_page are not the right call here.

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