Skip to main content
Glama
prismeai

Prisme.ai MCP Plugin

Official
by prismeai

get_file

Retrieves file metadata (url, name, mimetype, size, metadata) by file ID and workspace name.

Instructions

Get metadata for a single file by id. Returns the File object including url, name, mimetype, size, metadata.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileIdYesFile id (as returned by upload_file or list_files).
environmentNoOptional environment name (from PRISME_ENVIRONMENTS) to use specific API URL and workspace
workspaceIdNoAlternative: direct workspace ID (use workspaceName instead when possible)
workspaceNameYesWorkspace name that resolves to ID via PRISME_WORKSPACES or PRISME_ENVIRONMENTS mapping
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses that the tool returns a File object with specific fields (url, name, mimetype, size, metadata), but does not mention error behaviors, permission requirements, or side effects. Minimal viable transparency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two concise sentences, front-loaded with the core action. Every word serves a purpose with no redundancy.

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?

The description mentions the return object fields, which partially compensates for missing output schema. However, it lacks context on error cases, parameter relationships (e.g., workspaceName vs workspaceId), and environment handling. Adequate for a simple get operation but not comprehensive.

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%, so the schema already describes all parameters. The description adds value by listing return fields but does not enhance parameter understanding (e.g., fileId vs workspaceName usage). Baseline of 3 is appropriate.

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?

The description clearly states the verb 'Get', the resource 'metadata for a single file', and the input 'by id'. It differentiates from sibling tools like list_files and delete_file by specifying a single file retrieval.

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

Usage Guidelines2/5

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

No explicit guidance on when to use this tool vs alternatives like list_files or delete_file. The description does not mention prerequisites, workspace context, or exclusion criteria.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/prismeai/prismeai-mcp-debug'

If you have feedback or need assistance with the MCP directory API, please join our Discord server