Skip to main content
Glama
praxisgaurdrails

Praxis Lite

Official

fs_read

Read a file's contents as UTF-8 text, safely skipping credential stores and truncating oversized files.

Instructions

Read a file's bytes as a UTF-8 string.

Refuses to touch credential stores (~/.ssh, ~/.aws, keychains, .env) regardless of principal. Files larger than max_bytes (or the executor's default cap) are truncated with result.truncated == true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
max_bytesNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A4.5/5.0
Behavior5/5

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

With no annotations provided, the description carries full behavioral burden and handles it well. It discloses a surprising security restriction (refuses credential stores 'regardless of principal'), which an agent could not infer from the schema, and explains truncation behavior including the result.truncated flag. This is genuinely valuable beyond the structured data.

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?

Three sentences, each earning its place: purpose first, then security refusal, then truncation behavior. No fluff, no repetition, and the most important operational constraints are packed efficiently.

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 simple two-parameter tool, the presence of an output schema, and the absence of annotations, the description covers the essential context: what it reads, what it refuses to read, and how large files are handled. Nothing critical is missing for successful invocation.

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 description coverage is 0%, so the description must compensate. It adds meaning to max_bytes by explaining the truncation limit and default cap. Path is self-evident and needs no elaboration. The only small gap is not explicitly stating what max_bytes=0 means, though 'or the executor's default cap' partially covers it.

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 starts with a specific verb and resource: 'Read a file's bytes as a UTF-8 string.' This unambiguously distinguishes fs_read from siblings like fs_stat (metadata), fs_search (search), and fs_list_dir (directory listing) without needing further inference.

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 intended use is clear (read file content), but there is no explicit 'when to use this vs. alternative' guidance, nor any mention of siblings like fs_stat or fs_search. The context implies usage rather than stating it, so an agent must infer routing from the name and one-liner.

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