Skip to main content
Glama

Yüklenen medyayı kaydet

xplanner_register_media_asset
Idempotent

İmzalı adresle yüklenen nesneyi XPlanner medya varlığı olarak kaydeder ve gönderilerde kullanılabilir hale getirir.

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>",
      "bucketId": "<bucketId>",
      "objectPath": "<objectPath>"
    },
    "name": "xplanner_register_media_asset"
  }
}

Input Schema

NameRequiredDescriptionDefault
widthNo
heightNo
bucketIdYes
checksumNo
mimeTypeNo
sizeBytesNo
objectPathYes
displayNameNo
socialSetIdNo
workspaceIdYes
idempotencyKeyNo
originalFileNameNo
libraryVisibilityNo

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",
      -  "bucketId",
      -  "objectPath"
      -]New value: +[
      +  "workspaceId",
      +  "bucketId",
      +  "objectPath"
      +]
  2. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare the mutation and idempotency profile (readOnly=false, idempotentHint=true, destructiveHint=false), so the bar is lower. The description adds the valuable fact that the object must already be uploaded and that the result becomes usable in posts, but says nothing about libraryVisibility behavior, checksum/size validation, or what happens on a conflicting re-registration.

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?

A single economical sentence that front-loads the action and ends with the outcome. No filler, though the brevity comes at the cost of the detail this 13-parameter tool needs.

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?

With 13 parameters, 0% schema description coverage, and no output schema, an agent needs much more than one sentence to call this correctly. There is no guidance on required triples, the effect of libraryVisibility values, or how idempotencyKey is meant to be used.

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

Parameters2/5

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

Schema description coverage is 0% across 13 parameters, so the description carries the full burden and contributes essentially nothing. The only hint at parameters is the vague 'imzalı adresle yüklenen nesne', which does not explain objectPath, bucketId, idempotencyKey, libraryVisibility, socialSetId, or the dimension/mime/size fields.

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?

The description names a specific verb and resource ('yüklenen nesneyi ... medya varlığı olarak kaydeder') and clarifies the outcome (available for use in posts), which separates it from the upload-URL sibling. It stops short of naming the sibling it must follow, but the create-a-media-record purpose is unmistakable.

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?

The phrase 'İmzalı adresle yüklenen nesne' implies this is the second step after obtaining a signed upload URL, giving a usable sequencing cue. However, no alternative is named, no prerequisites (workspace, bucket, objectPath) are spelled out, and there is no statement of when not to call it or how to recover from a duplicate registration.

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