Skip to main content
Glama

AdsAgent — Meta Ads MCP

creatives_request_upload

Prepare upload. dedup_success: dedup_explanation. upload_required: no totals

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>",
      "content_type": "<content_type>",
      "file_size": "<file_size>",
      "file_hash": "<file_hash>"
    },
    "name": "creatives_request_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
filenameYes
file_hashYes
file_sizeYes
folder_nameNo
content_typeYes
upload_attemptNo
idempotency_keyNo

Output Schema

NameRequiredDescriptionDefault
messageNo
retryableNo
support_refNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / properties / connection_context
      Removed value: -{
      -  "pattern": "^mctx_v1_[0-9a-f]{64}$",
      -  "type": "string"
      -}
  2. Changed6 schema fields changed
    • addedOutput schema / else / then / properties / category
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / else / then / properties / expected
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / else / then / properties / failure_kind
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / else / then / properties / responsibility_hint
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / else / then / properties / route
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / else / then / properties / user_visible
      Added value: +{
      +  "type": "boolean"
      +}
  3. Changed1 schema field changed
    • addedInput schema / properties / connection_context
      Added value: +{
      +  "pattern": "^mctx_v1_[0-9a-f]{64}$",
      +  "type": "string"
      +}
  4. First observed

TDQS

D1.9/5.0
Behavior2/5

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

Annotations already cover the mutation/open-world profile, so the bar is lower, but the description still adds little usable behavior. The fragments 'dedup_success: dedup_explanation' and 'upload_required: no totals' gesture at a deduplication outcome and an upload-required flag, yet they are cryptic and merely name output fields that an output schema already exposes; nothing about token/URL lifetime, idempotency, or what to do when dedup succeeds is disclosed.

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?

It is short but not concise: the second and third fragments are ungrammatical field-name shorthand ('upload_required: no totals') that do not parse as instructions. The one clear statement is front-loaded, but the remainder is noise rather than earned brevity.

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?

For a seven-parameter mutation that presumably initiates a multi-step upload flow, the definition omits what the request returns in practice (URL, expiry, required headers), how it pairs with creatives_confirm_upload and creatives_abandon_upload, and the meaning of the retry parameters. The presence of an output schema excuses return-value detail but not the missing flow and parameter guidance.

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

Parameters1/5

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

Schema description coverage is 0% across seven parameters, including upload_attempt and idempotency_key, which have non-obvious retry semantics. The description mentions no parameter at all, so it fully fails to compensate for the undocumented schema.

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?

The description's only real content is 'Prepare upload.', which essentially restates the tool name (creatives_request_upload) with a slightly different verb. It does not clarify what is being prepared (a presigned URL? a multipart session?) or how it differs from siblings like creatives_confirm_upload and creatives_abandon_upload in the same flow.

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?

There is no explicit when-to-use guidance and no mention of the confirm/abandon alternatives. The word 'Prepare' weakly implies this is the first step of an upload sequence, but the agent is left to infer ordering and preconditions entirely on its own.

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