Skip to main content
Glama

Read a Phygital Brain file

phygital_brain_read_file
Read-onlyIdempotent

Reads one of Phygital Brain's own files—a form, template, language file or skill—and returns its full text for agent instructions. It never reads the person's brain.

Instructions

Read one of Phygital Brain's own files and return its full text: a form, a template, a language file or a skill. Use it when the instructions from phygital_brain_start name a file; if you don't know the exact name, list the folder with phygital_brain_list_files first. A missing file, a folder, or a path outside the skills folder returns an error that says so. It reads only Phygital Brain's files, never the person's brain, and changes nothing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesThe file's path inside Phygital Brain's skills folder, like 'brain-setup/forms/form-1-about-you.html' or 'brain-setup/i18n/ja/templates/root-CLAUDE.md'. Paths that start with a brain folder (About/, Daily/, Projects/...) are in the person's brain, not here.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.9
    • changedInput schema / properties / path / description
      Previous value: -"Path inside the skills folder."New value: +"The file's path inside Phygital Brain's skills folder, like 'brain-setup/forms/form-1-about-you.html' or 'brain-setup/i18n/ja/templates/root-CLAUDE.md'. Paths that start with a brain folder (About/, Daily/, Projects/...) are in the person's brain, not here."
  2. First observedv0.1.8

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the safety profile is covered; the description adds genuinely new behavior: the error cases (missing file, folder, path outside skills folder return an error that says so) and the strict read scope ('never the person's brain, and changes nothing'). It stops short of describing pagination or size limits, but for a single-file read that is minor.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loads what is returned, then usage, then failure modes and scope in four tight sentences. Each sentence contributes, though the brain-file exclusion is asserted in both the description and the schema example, a mild redundancy.

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?

No output schema exists, and the description supplies the return value ('return its full text'), the error behavior, and the scoping boundary. For a one-parameter read tool with full annotation coverage, nothing an agent needs to invoke it correctly is missing.

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% and the property description already explains the skills-folder path and the brain-folder exclusion with examples, so the description's path scoping largely restates structured data. Baseline 3 is appropriate since the schema does the heavy lifting for the single parameter.

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?

Names a specific verb (read) and resource (one of Phygital Brain's own files), enumerates what kinds of files it covers (form, template, language file, skill), and explicitly contrasts itself with phygital_brain_list_files and the person's brain. An agent can distinguish it from its siblings without opening any schema.

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?

Gives an explicit trigger ('use it when the instructions from phygital_brain_start name a file') plus a fallback routing rule ('if you don't know the exact name, list the folder with phygital_brain_list_files first'). Both the when and the alternative are stated, not implied.

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