Skip to main content
Glama

read_antigravity_workspace_file

Read a file inside a workspace by providing the workspace and relative paths; optionally limit returned lines to control output size.

Instructions

Safely read content of a workspace file.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
max_linesNo
relative_pathYes
workspace_pathYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Install Server

TDQS

C2.6/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. The word 'safely' weakly implies a read-only, side-effect-free operation, but the description does not explain what happens on missing files, path traversal constraints, or the effect of max_lines. Significant behavioral ambiguity remains.

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?

The description is a single concise sentence with no filler words, and 'safely read' is front-loaded. However, it is so terse that it omits useful contextual details, which slightly limits the value of its brevity.

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

Completeness2/5

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

Despite having three parameters, no annotations, and many sibling tools, the description provides only a one-sentence overview. Essential context such as path resolution rules, max_lines behavior, and safety guarantees is missing. While an output schema exists, the description itself is insufficient for reliable tool selection and invocation.

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

Parameters1/5

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

Schema description coverage is 0%, and the description adds no parameter-specific meaning. It does not clarify the roles of workspace_path, relative_path, or max_lines beyond what the parameter names already suggest. The description fails to compensate for the schema's lack of documentation.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('read') and the resource ('content of a workspace file'), and adds 'safely' to signal a non-destructive operation. It is specific enough to understand the tool's basic purpose, though it does not explicitly differentiate it from sibling tools like inspect_antigravity_workspace or get_antigravity_workspace.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance about when to use this tool versus alternatives such as inspect_antigravity_workspace, get_antigravity_workspace, or diagnose_antigravity_workspace. The description only states what the tool does, not when it should be chosen over siblings.

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

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/Joshua-zlitch/Claude-Opencode-mcp'

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