Skip to main content
Glama

Medya yükleme adresi oluştur

xplanner_create_media_upload_url
Idempotent

XPlanner depolamasına doğrudan yükleme için imzalı adres oluşturur. Dosya yüklendikten sonra xplanner_register_media_asset ile kaydet. PDF için post-documents ve application/pdf kullan; bucket özeldir, ek LinkedIn özellik erişimi ve planner.create yetkisi gerekir. Sunucu gerçek PDF, 20 MiB ve 100 sayfa denetimi yapar; istemci checksum/boyut beyanına güvenmez.

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": {
      "workspaceId": "<workspaceId>"
    },
    "name": "xplanner_create_media_upload_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
bucketIdNo
fileNameNo
mimeTypeNo
objectPathNo
socialSetIdNo
workspaceIdYes
idempotencyKeyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • removedInput schema / properties / accountId
      Removed value: -{
      -  "format": "uuid",
      -  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      -  "type": "string"
      -}
    • changedInput schema / properties / bucketId / enum
      Previous value: -[
      -  "post-images",
      -  "post-gifs",
      -  "post-videos"
      -]New value: +[
      +  "post-images",
      +  "post-gifs",
      +  "post-videos",
      +  "post-documents"
      +]
    • addedInput schema / properties / socialSetId
      Added value: +{
      +  "format": "uuid",
      +  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      +  "type": "string"
      +}
    • addedInput schema / properties / workspaceId
      Added value: +{
      +  "format": "uuid",
      +  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "accountId"
      -]New value: +[
      +  "workspaceId"
      +]
  2. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, openWorldHint=true, idempotentHint=true), the description discloses several behaviors an agent could not infer: the bucket is private, extra LinkedIn feature access and planner.create permission are required, and the server enforces real-PDF, 20 MiB, and 100-page checks rather than trusting client-declared checksum/size. These are exactly the operational constraints that would cause a call to fail if unknown.

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?

The description is four tight sentences with no filler, and the core purpose is front-loaded ahead of the workflow, permissions, and validation rules. It is dense but every sentence adds information; it would be slightly easier to scan if the workflow and constraint clauses were separated more explicitly.

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 signed-URL upload tool with no output schema, the description covers prerequisites, workflow sequencing, and server-side validation limits, which is the bulk of what an agent needs. Gaps remain around the signed URL's expiry/response shape and the purpose of idempotencyKey and objectPath.

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 description coverage is 0% across 7 parameters, so the description has to compensate. It clarifies the two parameters most likely to be misused (bucketId should be post-documents and mimeType application/pdf for PDFs) but is silent on fileName, objectPath, socialSetId, and idempotencyKey, leaving half the parameter surface undocumented.

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 opens with a specific verb and resource: creating a signed upload address for direct upload into XPlanner storage. It is clearly distinct from sibling tools such as xplanner_get_media_download_url and the separately named xplanner_register_media_asset, so an agent can tell which one does the uploading.

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?

It gives a clear workflow: use this tool to obtain the signed address, then register the uploaded file with xplanner_register_media_asset. It also states the concrete selection rule for PDFs (bucket post-documents with mimeType application/pdf). It stops short of explicit when-not-to-use or exclusion cases, so it falls just short of a 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.

Resources