Skip to main content
Glama

ck_result_peek

Read-onlyIdempotent

Peek at specific byte ranges of completed embedded run output using the package_root reference, avoiding full context load.

Instructions

Peek at the full stdout of a previously completed ck_delegate embedded run without loading it all into context. Use result_ref and package_root returned by ck_delegate to locate the stored output. Supports byte-range reads: pass peek_bytes to limit how much to load, and offset to skip ahead. Use result_length (returned by ck_delegate) to decide whether to peek, pass the ref downstream, or skip loading entirely. This is the RLM variable-encapsulation pattern: treat large sub-agent outputs as named references, not inline blobs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
offsetNoByte offset to start reading from (default 0).
peek_bytesNoHow many bytes to read (default 2000, max 32000).
package_rootYespackage_root returned by ck_delegate for the completed embedded run.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
outputNo
truncatedNo
bytes_readNo
total_bytesNo
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, idempotentHint=true. The description adds behavioral details like byte-range reads, offset/peek_bytes usage, and the pattern, which are beyond what annotations provide. No contradictions.

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 concise (6 sentences), front-loaded with purpose, and every sentence adds value without fluff.

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

Completeness5/5

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

Given the tool has an output schema and moderate complexity, the description covers usage pattern, parameter decisions, and relationship to ck_delegate, making it complete for agent use.

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

Parameters4/5

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

Schema coverage is 100%, but the description adds context on how to use parameters (e.g., 'pass peek_bytes to limit how much to load, and offset to skip ahead') and references result_ref/package_root from ck_delegate, adding meaning 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?

The description clearly states the tool's purpose: 'Peek at the full stdout of a previously completed ck_delegate embedded run without loading it all into context.' It specifies the action (peek), resource (stdout), and context (ck_delegate embedded run), distinguishing it from sibling tools like ck_delegate and ck_fs_read.

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 explains when to use (after ck_delegate completes, using result_ref and package_root) and how to decide (use result_length). It describes the RLM variable-encapsulation pattern. However, it does not explicitly state when not to use or compare to alternatives.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/aryaminus/controlkeel'

If you have feedback or need assistance with the MCP directory API, please join our Discord server