Skip to main content
Glama

Request File Upload

talonic_request_upload

Generates a browser upload link for the user to add a file to their workspace. Returns a pre-allocated document ID for later extraction.

Instructions

Get a browser upload link the user opens to add a file to their workspace. Returns the link plus a pre-allocated document_id.

USE WHEN: the user wants to upload a document and you cannot pass it directly — hosted/sandboxed clients (ChatGPT, Claude.ai) or files too large for tool-call arguments. NOT FOR: a document already in the workspace (use its document_id) · a file already on a public URL (use file_url on talonic_extract). ARGS: filename (with extension). RETURNS: upload_url, document_id, expires_at. After the user uploads, poll talonic_get_document on that document_id until status is 'completed', then call talonic_extract.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filenameYesThe name of the file being uploaded, including extension (e.g. 'invoice.pdf'). Used to pre-allocate the document and infer MIME type.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
document_idYesThe pre-allocated document ID. Use with talonic_get_document to poll status, and with talonic_extract once uploaded.
upload_urlYesURL the user should open in their browser to drop the file.
expires_atYesISO 8601 timestamp when the upload link expires.
Behavior4/5

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

Annotations indicate non-readonly and non-destructive. Description adds context: returns upload_url, document_id, expires_at, and instructs to poll talonic_get_document until status 'completed'. Discloses expiration and required follow-up actions. No contradiction with annotations.

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?

Very concise: three short paragraphs. Uses headers (USE WHEN, NOT FOR, ARGS, RETURNS) for structure. No wasted words.

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?

Given one parameter and presence of output schema (implied by return fields), description is complete. It explains the full workflow: requesting upload, user action, polling, and subsequent extraction call.

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 covers filename with description. Description adds example and notes extension importance, but this is marginal. Baseline 3 for high schema coverage.

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 tool gets a browser upload link and returns a pre-allocated document_id. It uses specific verbs ('Get a browser upload link') and resources ('add a file to their workspace'), distinguishing it from siblings like talonic_extract and talonic_get_document.

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

Usage Guidelines5/5

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

Explicitly states when to use (hosted/sandboxed clients or large files) and when not to (document already in workspace, public URL). Provides alternatives: 'use its document_id' or 'use file_url on talonic_extract'. Clear guidance.

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/talonicdev/talonic-mcp'

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