Skip to main content
Glama

ADS MCP

Get Image Upload URL

get_image_upload_url

Returns a one-time signed upload URL (valid 5 minutes) for uploading an image file to the server. The response includes upload_url (where to POST the raw image bytes) and filename (the server-side name to pass to create_image_asset afterward). Used as step 1 of the image-to-Google-Ads workflow: get URL here, upload the image bytes via HTTP POST, then call create_image_asset with the filename to create a Google Ads ImageAsset.

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": {
      "filename": "<filename>",
      "user_intent": "<user_intent>"
    },
    "name": "get_image_upload_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
filenameYesDesired filename e.g. 'logo.png'. Extension controls saved format.
user_intentYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=false and destructiveHint=false; the description adds the material behavior the agent cannot infer: the URL is one-time, expires in 5 minutes, expects a raw-bytes HTTP POST, and returns upload_url plus filename. This is exactly the operational context annotations cannot convey.

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?

Two sentences, front-loaded with the return value and expiry, followed by the workflow. Every clause (validity window, one-time, response fields, POST semantics, next call) carries actionable information.

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?

With no output schema and a thin annotation set, the description fully covers what the tool returns, how to use the result over HTTP, and how it chains into the next tool. Nothing needed to invoke it correctly is missing apart from user_intent semantics.

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 coverage is 50%: filename is already documented in the schema, and the description only adds that its value must be echoed to create_image_asset. The second required parameter, user_intent, is left completely unexplained in both schema and description, so the description does not compensate for the coverage gap.

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 ('Returns a one-time signed upload URL') plus scope (valid 5 minutes) and is clearly distinguished from the sibling create_image_asset, which it names as the follow-on step.

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?

Explicitly frames itself as step 1 of the image-to-Google-Ads workflow and spells out the sequence: get URL here, POST raw bytes, then call create_image_asset with the returned filename. An agent knows exactly when to pick this tool and what to do next.

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.