Skip to main content
Glama
passgage

Passgage MCP Server

Official
by passgage

passgage_upload_file

Upload files to Passgage securely via presigned URLs, supporting profile photos, documents, attachments, and reports.

Instructions

Upload a file to Passgage using presigned URL

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
purposeNoPurpose of the file upload (optional)
filenameYesName of the file to upload
file_dataYesBase64 encoded file data or file path
content_typeYesMIME type of the file (e.g., image/jpeg, application/pdf)
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It fails to mention upload size limits, whether the file is stored persistently, authentication requirements, or what happens to the file data. The phrase 'using presigned URL' hints at mechanism but adds little behavioral context.

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?

The description is a single, focused sentence with no filler. It front-loads the action and resource, making it easy to scan, and every word earns its place.

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?

The tool is a state-changing file upload with no output schema and no annotations. The description provides no return-value expectations, upload constraints, or usage prerequisites. Given the complexity of handling base64 data or file paths, this is insufficient context for an agent to invoke the tool confidently.

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%, with each parameter having a description (e.g., file_data is 'Base64 encoded file data or file path'). The tool description adds no parameter-level detail, so the schema does the heavy lifting and the 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 action ('Upload'), the target resource ('a file to Passgage'), and the mechanism ('using presigned URL'). This distinguishes it from the many sibling tools that are about auth, CRUD, or search.

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 guidance is given for when to use this tool, prerequisites like authentication, or alternatives. It simply states the action without context, leaving the agent to infer when this tool is appropriate.

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/passgage/mcp-server'

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