Skip to main content
Glama

upload_from_chat

ChatGPT only: take the workbook (.xlsx) or CSV the person attached to this chat into their GraphSheets files. Leave file for ChatGPT to fill in from the attachment; never write a URL into it — anything not on ChatGPT's own file host is refused. Where no file is attached, or in any other app, use upload_request. Then upload_import.

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": {
      "file": "<file>"
    },
    "name": "upload_from_chat"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileYesThe file the person attached in the chat. ChatGPT fills this in itself; never write it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare the write/open-world/non-idempotent profile, and the description adds real behavior beyond that: the tool consumes ChatGPT's own file host only, anything else is 'refused', and the call is the first step of a two-step chain ending in upload_import. It stops short of saying what a repeated call does (duplicate vs. overwrite) or what a success response contains, which matters for a non-idempotent mutation.

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?

Three sentences with the strongest constraint ('ChatGPT only') front-loaded, and no filler. The trailing sentence 'Then upload_import.' is telegraphic, though its meaning (call this before upload_import) is recoverable.

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?

For a single-parameter, single-purpose upload with no output schema and annotations covering the safety profile, the definition supplies the platform gate, the parameter sourcing rule, the refusal condition, and the next step. Nothing an agent needs in order to invoke it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with per-field descriptions for file_id, file_name, mime_type and download_url, so the baseline is 3. The description adds a normative rule not present in the schema: leave `file` for the chat to populate and never write a URL into it, because foreign hosts are rejected — that meaningfully constrains how the parameter may be constructed.

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?

States a specific verb and resource ('take the workbook (.xlsx) or CSV the person attached to this chat into their GraphSheets files') plus an explicit scope gate ('ChatGPT only'). It also names the sibling it is not (upload_request), so an agent can distinguish the two without opening either schema.

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?

The routing is fully spelled out: 'Where no file is attached, or in any other app, use upload_request. Then upload_import.' Both the when-not condition and the follow-up alternative are named rather than inferred.

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