Skip to main content
Glama

Field Service Business Platform by Doing Work

media_requestCustomerUpload

Make an expiring link the customer opens with no account and uses to send photos or videos for one job. The link lasts days (1 to 14, default 7). Each file is saved as provided_by customer and channel upload, with the same size limits, type checks, and location handling as a shop upload: the shop keeps camera details, and copies that leave the shop have them removed. Pass customer_id to name the customer, or leave it out to use the job's customer.

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": {
      "job_id": "<job_id>"
    },
    "name": "media_requestCustomerUpload"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNo
job_idYes
customer_idNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (which only say this is a non-read-only, non-destructive, closed-world mutation), the description discloses link lifetime bounds and default, the metadata stamped on each uploaded file (provided_by customer, channel upload), that size/type validation mirrors shop uploads, and how camera/location metadata is retained versus stripped. That is material behavioral context an agent could not infer from annotations alone.

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, front-loaded with the action and lifetime, then the file-handling semantics, then parameter behavior. The metadata-retention sentence is dense but earns its place by explaining a real consequence; nothing is redundant filler.

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 3-parameter mutation with an output schema already covering return values, the description supplies the lifetime bounds, the default, the fallback behavior for customer identity, and downstream file effects. An agent has everything needed to invoke it correctly.

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 0%, so the description must carry the parameter burden. It explains 'days' with its 1–14 range and default of 7, and explains 'customer_id' as naming the customer versus defaulting to the job's customer; 'job_id' is only implied by 'for one job' and never explicitly characterized as the required anchor.

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?

The description states a concrete verb and artifact — creating an expiring, no-account link that a customer uses to upload photos/videos for one job — and implicitly separates it from sibling shop-upload flows. An agent can identify exactly what this tool produces without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase 'customer opens with no account' and 'same size limits... as a shop upload' clearly frames this as the customer-facing counterpart to a shop upload, giving solid context for when to choose it. It stops short of explicitly naming an alternative or stating exclusions, so it lands at 4 rather than 5.

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.