Skip to main content
Glama

solari_read_file

Read an in-guest file. Text comes back as text; an image comes back as an image; other binary files come back as base64 with their size (cut, and marked as cut, when too big for one result).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "sessionId": "<sessionId>",
      "path": "<path>"
    },
    "name": "solari_read_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
sessionIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden, and it does disclose a genuinely useful trait: output shape varies by file type (text, image, base64) and oversized results are truncated and explicitly marked as cut. It omits other behavioral facts an agent needs, such as what happens for a missing file, whether it errors or returns empty, and any permission or size limits beyond the truncation note.

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?

A single front-loaded sentence with the core action first and the output variants following in a compact semicolon series. Every clause adds information and none is redundant.

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

Completeness3/5

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

Because there is no output schema, the description's explanation of the three return flavors and truncation marking is necessary and well done. However, for a two-parameter file-access tool the missing path-resolution semantics and error behavior leave a real gap.

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

Parameters2/5

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

Schema description coverage is 0% for two required parameters, so the description must compensate and it does not. It never explains what 'path' is relative to (guest root, working directory, absolute only) or what 'sessionId' identifies, leaving the agent to guess the most error-prone part of the call.

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 gives a specific verb ('Read') and resource ('an in-guest file'), which clearly separates it from solari_write_file and the browser-oriented siblings. It does not explicitly name an alternative or state a boundary condition, so it stops short of a 5.

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 explicit when-to-use guidance, no stated exclusions, and no pointer to a sibling such as solari_browser_read_page for browser-side content. The only usage signal is the implied 'in-guest' context in the first clause, which the agent must infer.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources