Skip to main content
Glama

view_page_file

Read-only

Inspect a saved file by fileId. Returns metadata and its permanent URL. Supported file types are also included as model attachments; other files remain available through their URL.

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": {
      "target": "<target>",
      "fileId": "<fileId>"
    },
    "name": "view_page_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileIdYesFile ID from the stored file list or store_page_file.
targetYesTarget page resource; kind must be page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / target / properties / designId
      Added value: +{
      +  "minLength": 1,
      +  "type": "string"
      +}
    • changedInput schema / properties / target / properties / kind / enum
      Previous value: -[
      -  "page",
      -  "email"
      -]New value: +[
      +  "page",
      +  "email",
      +  "wallet",
      +  "apple-wallet",
      +  "google-wallet"
      +]
  2. Changed1 schema field changed
    • removedInput schema / properties / target / properties / organizationId
      Removed value: -{
      -  "minLength": 1,
      -  "type": "string"
      -}
  3. First observed

TDQS

A3.7/5.0
Behavior4/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 safety is covered. The description adds genuinely non-obvious behavior: supported types come back as model attachments while others are only reachable via URL, which affects how the agent consumes the result. It does not address the idempotentHint=false implication (e.g. whether URLs or metadata change between calls).

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 short sentences, front-loaded with the action and the return, with no filler. The second sentence is dense but each clause carries distinct information about attachment behavior.

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?

With a read-only annotation set and no output schema, the description does the necessary work of describing the return shape (metadata plus permanent URL) and attachment behavior. The main remaining gap is the nested `target` object and its page-only constraint, which the description never clarifies.

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 description coverage is 100%, so both parameters are documented in the schema, and the description correctly reinforces that fileId comes from a stored file list. However, it says nothing about the required nested `target` object, whose enum lists five kinds while the schema text says 'kind must be page' — the description could have resolved that ambiguity. Baseline 3.

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 opens with a specific verb and resource ('Inspect a saved file by fileId') and adds the return ('metadata and its permanent URL'), so the agent knows exactly what the call produces. It is clearly a single-file read, distinguishable in intent from list_page_files or store_page_file, though it never names those siblings explicitly.

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?

Usage is only implied: 'Inspect a saved file' suggests it follows storing/importing a file, and the note that non-supported files 'remain available through their URL' hints at when URL access is needed instead of an attachment. There is no explicit when-to-use/when-not guidance or named alternative for retrieving file metadata in bulk.

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.