Skip to main content
Glama

Read a file from a briq

briq_files_get
Read-onlyIdempotent

Download a file as base64 (up to 1 MB) from the briq's own filesystem. A PNG, JPEG, GIF or WebP comes back as an image you can look at (a screenshot, a chart); for its bytes as text, briq_exec base64 <path>. For a larger file, read part of it with briq_exec (head, tail, grep), or ask the person to run briq files-get. Reference: https://briq.cloud/docs/mcp/tools#briq_files_put--briq_files_get

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

Input Schema

NameRequiredDescriptionDefault
briqYes
pathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, non-open-world), and the description adds the 1 MB ceiling and the fact that image types are returned as viewable images rather than raw base64. The only wobble is the tension between the opening 'as base64' and the later image-return sentence, which leaves the exact return shape for PNG/JPEG/GIF/WebP slightly ambiguous.

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 primary action and size limit lead, followed by escape hatches and a reference link, with no filler sentences. Minor cost: the base64-vs-image framing in the first two sentences could be merged to remove the apparent inconsistency.

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

Completeness4/5

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

No output schema exists, so the description correctly takes on return-value disclosure (base64 payload, image rendering, 1 MB limit) and enough alternative routing for an agent to choose correctly. The remaining gap is the unresolved path semantics, which is what an agent most needs before calling.

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%, so the description must carry the two parameters, and it largely does not: 'path' is never defined (absolute vs. relative to the briq filesystem root is unclear), and the `briq` identifier format (bq_...) is left to the schema pattern. Only the loose phrase 'the briq's own filesystem' and the `<path>` example hint at meaning.

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?

States a specific verb and resource ('Download a file ... from the briq's own filesystem') and bounds it with the 1 MB cap. It also distinguishes itself from briq_files_put and briq_exec by naming which file store is read and by routing oversized/raw-byte cases elsewhere.

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?

Explicitly names alternatives and the conditions that select them: briq_exec `base64 <path>` for text bytes, briq_exec with head/tail/grep for files over 1 MB, and the CLI `briq files-get` when only a human can act. This is a complete when/when-not routing.

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.