Skip to main content
Glama

Quora MCP Server and API by Cotlet

Upload a file

cotlet_browser_upload
Destructive

Puts files into file field or upload button element: each file is {"url": "https://..."} or {"file_id": "..."} of a file uploaded to Cotlet; up to 10 files, 20 MB each. In ChatGPT, a file of the conversation (one you made or the user attached) goes in file, no upload_url needed. Answers the page after it (elements and text in view).

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": {
      "element": "<element>"
    },
    "name": "cotlet_browser_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
tabNoTab id of the last answer.
fileNoA file of the ChatGPT conversation; ChatGPT fills it.
filesNoThe files.
elementYesElement number from the last answer.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / element / description
      Previous value: -"The element's number from the last read or step answer."New value: +"Element number from the last answer."
    • changedInput schema / properties / tab / description
      Previous value: -"The Tab id of the last answer. The step acts only while that tab is the shown one; if the user or another client showed another tab, it does nothing and answers tab_changed. Leave it out to act on the shown tab."New value: +"Tab id of the last answer."
  2. Changed2 schema fields changed
    • addedInput schema / properties / file
      Added value: +{
      +  "description": "A file of the ChatGPT conversation; ChatGPT fills it.",
      +  "properties": {
      +    "download_url": {
      +      "type": "string"
      +    },
      +    "file_id": {
      +      "type": "string"
      +    },
      +    "file_name": {
      +      "type": "string"
      +    },
      +    "mime_type": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "download_url",
      +    "file_id"
      +  ],
      +  "type": "object"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "element",
      -  "files"
      -]New value: +[
      +  "element"
      +]
  3. Changed1 schema field changed
    • addedInput schema / properties / tab
      Added value: +{
      +  "description": "The Tab id of the last answer. The step acts only while that tab is the shown one; if the user or another client showed another tab, it does nothing and answers tab_changed. Leave it out to act on the shown tab.",
      +  "maxLength": 64,
      +  "minLength": 1,
      +  "type": "string"
      +}
  4. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, openWorldHint=true and non-idempotent, so the mutation profile is structured data. The description still adds non-trivial context: the 10-file / 20 MB-per-file limits, and crucially that the tool 'Answers the page after it (elements and text in view)', disclosing the return behavior in the absence of an output schema. What it omits is any warning about overwriting an existing field value, which matters for a destructive tool.

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?

One dense paragraph, front-loaded with the action and followed by constraints and the ChatGPT special case, with inline backticked identifiers keeping it unambiguous. It is information-rich but reads as a run-on stream of clauses rather than clearly separated points.

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?

For a mutating browser tool with four parameters, a nested object and no output schema, the description covers the action, size limits, the two file-source forms, and what comes back (the resulting page state). The remaining gap is the absence of any statement about what happens when the target field already holds files.

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%, so a baseline of 3 applies, and the description earns above that: it maps `element` to a specific UI concept ('file field or upload button'), spells out that each file object is `{"url": ...}` or `{"file_id": ...}`, and clarifies that `file` is filled by ChatGPT rather than the caller. The 20 MB per-file ceiling is stated only here, not in the schema.

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

Purpose4/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 target resource: it 'puts files into file field or upload button `element`', which tells an agent this is a page-level browser upload rather than a Cotlet storage upload. It does not explicitly name `cotlet_upload_file` as the contrasting sibling, so the distinction must be inferred from the mention that `file_id` refers to 'a file uploaded to Cotlet'.

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?

There is real conditional guidance for one case: 'In ChatGPT, a file of the conversation ... goes in `file`, no upload_url needed', which tells the agent which parameter path applies in that environment. However, it never states when to choose this over `cotlet_upload_file`, nor what to do if the target element is not a file input (the sibling `cotlet_browser_click` might be the alternative).

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.