Skip to main content
Glama

file_get

Read-only

Stream one file with ETag and single-range support

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

Input Schema

NameRequiredDescriptionDefault
pathYes
queryNo
headersNo
workspaceSlugYes

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?

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuinely useful behavioral context beyond that: conditional requests via ETag and single-range (partial content) responses. It omits error behavior, the schema's empty-204-on-missing-path semantics, and what the streamed response actually contains.

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?

An eight-word single clause with zero filler and the key capability front-loaded. It is efficient, though verging on under-specified rather than genuinely concise.

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?

A four-parameter, nested-schema file retrieval tool with no output schema cannot be adequately covered in one clause. An agent still has no idea how the streamed bytes are returned, what happens on missing paths, or which sibling to use for metadata versus download-link creation.

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% and only the nested `optional` const carries any inline text, so the description is expected to compensate. "ETag" and "single-range support" do imply the If-None-Match and Range headers, but path, workspaceSlug, If-Modified-Since and the optional/204 behavior are left entirely unexplained.

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?

"Stream one file" gives a specific verb (stream/read) plus singular resource, which distinguishes it from collection-level siblings like file_list and file_search. It is not quite a 5 because it never says what the resource is addressed by (workspaceSlug + path) or how it differs from file_download_create.

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

Usage Guidelines3/5

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

The mention of streaming, ETag and single-range support implies the retrieval use case, and the singular "one file" hints at a known-path lookup rather than a search. However, it never states when to prefer this over file_stat, file_download_create or file_preview, and gives no exclusions.

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.