Skip to main content
Glama
Inistate

Inistate MCP Server

Official
by Inistate

Request Upload URL

request_upload_url

Obtain an expiring upload URL for files up to 500MB scoped to a module. Upload the file bytes via PUT to that URL, then confirm the upload.

Instructions

DEFAULT upload path for every file (up to 500MB); upload_file is only the fallback if this flow fails. Flow: 1) call this tool, 2) PUT the raw bytes to uploadUrl with Content-Type exactly matching contentType (S3 rejects mismatches with 403), 3) call confirm_upload({ s3Key }) — its returned path is the File/Image field value for submit_activity. uploadUrl expires in ~1 hour; call again on expiry.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
moduleYesModule name. Required — scopes the file to the module's storage folder.
fileNameYesOriginal filename including extension (e.g. 'report.pdf')
fileSizeYesFile size in bytes. Must be > 0 and ≤ 500MB (524288000).
contentTypeNoMIME type. Must match the Content-Type header used in the PUT request.application/octet-stream
workspaceIdNoWorkspace ID. Omit if set via env or set_workspace; required in stateless/remote mode.
Behavior5/5

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

Discloses key behavioral traits beyond annotations: file size limit (500MB), upload URL expiration (~1 hour), Content-Type matching requirement with specific 403 error from S3, and the full flow including confirm_upload dependency. Adds significant context not present in annotations.

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?

The description is concise and packed with information in a single paragraph. The numbering of steps aids clarity. Slightly dense but no wasted words; could be improved by breaking into bullet points but not necessary.

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 the tool's complexity (5 params, flow with subsequent steps, no output schema), the description is remarkably complete. It covers the entire upload process, expiry, and dependencies. No gaps identified.

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% with descriptions for all 5 parameters. The description adds marginal value by framing the purpose of module and contentType in the flow, but does not substantially enhance understanding beyond the schema. Baseline 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?

Clear verb+resource: 'request upload URL' explicitly states the tool's function. Distinguishes itself from sibling 'upload_file' by stating this is the default path and upload_file is a fallback, providing clear differentiation.

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?

Provides explicit when-to-use: 'DEFAULT upload path for every file' and when to use alternative: 'upload_file is only the fallback if this flow fails.' Also gives a step-by-step flow. Does not explicitly state when not to use, but context is clear.

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/Inistate/inistate-mcp'

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