Skip to main content
Glama
tokportal

tokportal-mcp

Official

tokportal_upload_image

Generate a signed upload URL and token for uploading an image to a specified bundle. Supports JPEG, PNG, WebP, and GIF formats for carousel or profile picture purposes.

Instructions

Create an image upload URL. Returns a short-lived signed upload URL and upload token. Do not send Idempotency-Key. The successful response contains a secret and is never stored in the replay ledger. A request with the header is rejected with IDEMPOTENCY_KEY_NOT_ALLOWED_FOR_SENSITIVE_RESPONSE (400) before any ledger claim or operation execution.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyYesJSON request body.
Behavior5/5

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

The description provides significant behavioral detail beyond the boolean annotations: it warns not to send Idempotency-Key, explains that the successful response contains a secret and is not stored in the replay ledger, and specifies the rejection code and timing. This is high-value security-sensitive context not available from the annotations alone.

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 four sentences, front-loaded with the core purpose, and each sentence adds essential information. There is no filler or redundant repetition of schema/annotation data.

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 no output schema, the description sufficiently covers the key return values (signed URL, upload token, secret), the short-lived nature, and an important error condition. It does not describe the exact response JSON shape or follow-up upload mechanics, but it is adequate for invoking the tool correctly.

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?

The schema already documents the body parameter and its nested fields with 100% coverage, including the content_type pattern and purpose enum. The description adds no parameter-level semantics beyond the context of creating an image upload URL, so the baseline score 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 opens with a specific verb and resource: 'Create an image upload URL.' This clearly distinguishes the tool from sibling image/video upload tools by indicating it creates a signed URL rather than performing an actual upload.

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?

The tool's use case is implied through 'Create an image upload URL' and 'Returns a short-lived signed upload URL and upload token,' but it never explicitly states when to choose this over tokportal_upload_image_direct or tokportal_upload_image_from_url. There is clear context but no exclusion or alternative 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/tokportal/tokportal-mcp'

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