Skip to main content
Glama

AI SENSE Free Public Tools

Read a stored file

read_stored_file
Destructive

Read a stored object by storage_id. JSON comes back as data, an image as an image, and any other file, such as a PDF from html_to_pdf or a ZIP from process_image, as an embedded resource of at most 4 MB. An object stored with max_downloads loses one download to each read, and the last read removes it. No API key, no account and no sign up.

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": {
      "storage_id": "<storage_id>"
    },
    "name": "read_stored_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
storage_idYesA storage_id from store_file, from a previous tool result, or from REST /storage. Objects expire 24 hours after they were stored.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

With destructiveHint=true and readOnlyHint=false already declared, the description goes further and explains exactly what the destruction is: each read consumes a download for objects stored with max_downloads, and the final read deletes the object. It also discloses the 4 MB embedded-resource cap and confirms no auth is required, covering the key behavioral risks.

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?

Three sentences, front-loaded with the action and return types, followed by the destructive download mechanic. The closing 'No API key, no account and no sign up' is slightly promotional but does carry real auth information.

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

Completeness5/5

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

For a single-parameter tool with no output schema, the description covers return shapes, size limits, expiry-adjacent behavior, and the destructive read semantics. An agent has everything needed to call it correctly and anticipate the side effect.

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%, and the schema itself documents the storage_id UUID format and the 24-hour expiry. The description only repeats that reads are keyed by storage_id, adding no new syntax or format meaning, so the baseline 3 is appropriate.

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?

States a specific verb and resource ('Read a stored object by storage_id') and immediately enumerates what comes back for JSON, images, and other files. It names html_to_pdf and process_image as producers, but does not distinguish itself from other read_* siblings such as read_temporary_data.

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

Usage Guidelines4/5

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

Explains where storage_ids come from (store_file, prior tool results, REST /storage) and what the caller gets for each payload type. It does not explicitly say when to prefer an alternative reader, but the context it gives is clear and actionable.

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.