Skip to main content
Glama

GetYourGuide 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
appNoLeave out. Only an app slug cotlet_app_guide names.
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. Changed3 schema fields changed
    • changedInput schema / properties / app / description
      Previous value: -"Leave it out: the step runs in the user's web browser. Only when cotlet_app_guide names an app's own Cloud Browser, that app's slug, e.g. milanote."New value: +"Leave out. Only an app slug cotlet_app_guide names."
    • 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 declare destructive/openWorld/non-idempotent, so the safety bar is partly covered, and the description adds real behavior: hard limits of 10 files at 20 MB each, plus the fact that it answers the page after the upload (elements and text in view). It does not say whether an existing file in the field is replaced, which matters given destructiveHint=true.

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?

Front-loaded with the action and target, then the payload format, then limits, then the ChatGPT special case and the response behavior. Dense but nearly every clause carries information; the prose is slightly run-on and the trailing 'Answers the page after it' is terse.

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 does the work of explaining the return ('elements and text in view'). Given a 5-parameter tool with a nested object, it covers payload shape, limits, and the special ChatGPT input path; the only gap is whether uploading overwrites files already present in the target field.

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 already 100%, so the baseline is 3, but the description adds genuine meaning beyond the schema: each entry is either {"url"} or {"file_id"}, the 10-file/20 MB caps, and the ChatGPT-specific `file` path with 'no upload_url needed'. That clarifies how `file` and `files` relate, which the schema alone leaves ambiguous.

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?

States a specific verb and target: it puts files into a file field or upload button identified by `element`, and specifies the accepted file shapes (public URL or Cotlet file_id). An agent can tell this is the browser-side upload action rather than the API-side cotlet_upload_file, though it never names that sibling to make the contrast explicit.

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?

Provides a clear conditional: in ChatGPT, a conversation file (made by the assistant or attached by the user) goes in `file` with no upload_url needed, otherwise use `files`. That is routing guidance for inputs, but there is no statement of when to prefer this over cotlet_upload_file, nor any exclusion such as what to do when the page has no file element.

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.