Skip to main content
Glama

Chat file upload

chat_upload_url

File upload link. Widget only.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "hub": "<hub>"
    },
    "name": "chat_upload_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
hubYeshub key
beforeNoid: messages older than this one

Output Schema

NameRequiredDescriptionDefault
urlYes
max_sizeYes
stickersYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.2/5.0
Behavior2/5

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

Annotations already state readOnlyHint=false and idempotentHint=false, so the mutation/non-idempotent nature is covered structurally. The description adds only the ambiguous "widget only" clause and says nothing about URL lifetime, permissions, or side effects of generating an upload link, which is the non-obvious behavior an agent needs.

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

Conciseness2/5

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

Two short fragments contain no filler, but the text is under-specified rather than concise — it is too small to convey purpose or constraints. The "Widget only" qualifier is placed where the core action should be front-loaded.

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?

An output schema exists so return values need no explanation, and the tool is low-complexity with two params. Even so, the description leaves the agent without enough to decide when to call this versus sibling upload/chat tools, which is the main missing piece.

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 only two parameters (hub, before), so the schema carries parameter meaning on its own and the baseline of 3 applies. The description contributes no additional semantics for either parameter.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

"File upload link. Widget only." restates the name/title (chat_upload_url / Chat file upload) rather than describing the action with a verb and resource. It does not say whether it creates an upload URL, fetches an existing one, or what resource it targets.

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?

"Widget only" hints at a scope restriction but is unexplained — an agent cannot tell what counts as the widget versus a regular client, nor when to use this instead of siblings like board_upload_url or send_file_to_hub_chat. No when-not-to-use condition is given.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources