Skip to main content
Glama

bridge_workspace_read

bridge_workspace_read
Read-only

Reads a text file from the authorized workspace using a relative path and an optional character limit to control output size.

Instructions

Ler arquivo de texto limitado ao workspace autorizado.

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": {
      "path": "<path>"
    },
    "name": "bridge_workspace_read"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesCaminho relativo
max_charsNoLimite de caracteres

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.5

TDQS

B3.1/5.0
Behavior3/5

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

readOnlyHint=true already tells the agent this is a safe read, but the description adds a genuine behavioral fact beyond annotations: reads are confined to the authorized workspace, which implies a sandbox restriction and possible failure on out-of-scope paths. It says nothing about how max_chars truncation is signaled, encoding/binary handling, or what the response looks like, so the added value is real but narrow.

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?

A single front-loaded sentence with no filler; the scope constraint is stated right after the verb. It is efficient rather than padded, though the extreme brevity borders on under-specification for a tool with truncation semantics.

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?

For a file-read tool with no output schema, the description leaves the agent without the return-shape and truncation behavior it needs, particularly whether exceeding max_chars silently cuts content or errors. Annotations cover only the read-only safety profile, so the remaining behavioral burden falls on the description and is mostly unmet.

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 coverage is 100%, with both path and max_chars documented inline, so the schema carries the parameter burden and a 3 is the baseline. The description adds no meaning beyond it — it does not clarify that max_chars causes truncation rather than an error, nor what relative means in terms of the workspace root.

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 states a specific verb and resource ("Ler arquivo de texto") plus a scope constraint ("limitado ao workspace autorizado"), so an agent knows it reads files. It never distinguishes itself from siblings such as bridge_workspace_search or bridge_workspace_list, leaving the agent to infer that this is the direct-by-path reader.

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 or when-not-to-use guidance, and no alternative tool is named. The agent must infer from the verb alone that this is for reading a known path rather than searching for content, which is a thin basis for routing between four workspace_* siblings.

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