Skip to main content
Glama

workspaces_files_retrieve

One file by its sqid: name, kind, size, the job that produced it and its download_url.

Method: GET /api/v1/workspaces/{workspace_sqid}/files/{sqid}/

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": {
      "sqid": "<sqid>"
    },
    "name": "workspaces_files_retrieve"
  }
}

Input Schema

NameRequiredDescriptionDefault
sqidYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations supplied, the description carries the behavioral burden, and it does disclose that this is a GET (read-only) and what the response contains, including a download_url. It omits permissions/auth requirements, not-found behavior, and whether download_url is signed or expires, which matter for an agent acting on the result.

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?

Two compact lines with the identifying purpose front-loaded and the endpoint appended as supporting detail; nothing is redundant or padded. The endpoint line is marginally restating what the tool does but is cheap and informative.

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?

For a one-parameter read tool with no output schema, listing the returned fields is genuinely useful and mostly completes the picture. Gaps remain around error/not-found handling, download_url lifetime, and authorization, which are the details an agent would need before relying on the result.

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 0% and the schema only types sqid as a string, so the description must compensate. It adds that sqid is the file's identifier and places it under the workspace path in the endpoint, but gives no format, example, or acquisition hint (e.g., coming from the files list), leaving the parameter only partially explained.

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 uses a specific verb and resource ("One file by its `sqid`") and enumerates the returned fields (name, kind, size, producing job, download_url), which makes it clearly distinguishable from the singular/plural split with workspaces_files_list. It stops short of naming the list sibling explicitly, so it is clear but not maximally differentiated.

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 singular framing ("One file by its `sqid`") implies this is the single-record lookup rather than the list, but the description never states when to prefer it over workspaces_files_list or what happens if the sqid is unknown. Usage is inferable but not spelled out.

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.