Skip to main content
Glama

BotSpot: AI Trading, Backtests and Bots

Read, illustrate or remove my Marketplace publications

my_marketplace_publications
Destructive

action="list" lists your account and strategy publications and private-link status; optionally includePublishingDefaults and includeSharingHistory to read first-publish defaults and paginated sharing audit history. action="get" reads one publication using subjectKind and accountId or strategyId. Both are read-only. action="upload_image" uploads a cover image for one of your publications (a write). action="remove" unpublishes one publication by publicationId (its private link is not changed). action="unpublish_strategy" unpublishes a strategy listing by strategyId. Every action retains its original independent scopes and owner checks. Private-link secrets and broker credentials are never returned.

Set "action" to choose the operation. Only send the fields listed for that action.

action="list": List my Marketplace publications and private grants

No other fields required. Lists the authenticated owner's account and strategy publications, Marketplace state, explicit capabilities, and whether a private link is active. Set includePublishingDefaults to read your first-publish preferences; includeSharingHistory returns a bounded page of durable sharing changes with actor, time, source and before/after values. Follow nextBeforeSequence using historyBeforeSequence. History begins when audit storage was installed; older changes are not reconstructed. Bearer-link secrets and broker credentials are never returned.

action="get": Get my account or strategy publication

Required fields: subjectKind. Reads one owner publication using an explicit account or strategy subject. Account sharing never implies strategy sharing; strategy sharing never exposes sibling strategies.

action="upload_image": Upload an account or strategy Marketplace image

Required fields: publicationId, mediaType, imageBase64. Uploads one owner publication image as bounded base64 PNG, JPG, or WebP data. The server validates and re-encodes it before private storage; remote image URLs are not accepted.

action="remove": Remove an account or strategy from Marketplace

Required fields: publicationId. Unpublishes exactly one owner publication. Its independent private link is not changed.

action="unpublish_strategy": Remove a strategy from the marketplace

No other fields required. Removes a strategy from the public marketplace. The strategy becomes private and is no longer discoverable by other users. Existing private share links (if any) are NOT affected. Uses soft-delete (sets isActive=false). Accepts the marketplace listing ID, or a strategy/aiStrategy ID to find the listing automatically.

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": {
      "action": "<action>"
    },
    "name": "my_marketplace_publications"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYesWhich operation to run: "list", "get", "upload_image", "remove", "unpublish_strategy". See the tool description for each one.
accountIdNoUsed with action="get".
listingIdNoThe marketplace listing ID (fastest lookup) Used with action="unpublish_strategy".
mediaTypeNoUsed with action="upload_image". Required for action="upload_image".
strategyIdNoThe Strategy entity ID (alternative) Used with action="get", action="unpublish_strategy".
imageBase64NoUsed with action="upload_image". Required for action="upload_image".
subjectKindNoUsed with action="get". Required for action="get".
aiStrategyIdNoThe AiStrategy entity ID (alternative) Used with action="unpublish_strategy".
historyLimitNoUsed with action="list".
publicationIdNoUsed with action="upload_image", action="remove". Required for action="upload_image", action="remove".
expectedVersionNoUsed with action="upload_image".
historyBeforeSequenceNoUsed with action="list".
includeSharingHistoryNoUsed with action="list".
includePublishingDefaultsNoUsed with action="list".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • changedInput schema / properties / action / description
      Previous value: -"Which operation to run: \"list\", \"get\", \"upload_image\", \"remove\". See the tool description for each one."New value: +"Which operation to run: \"list\", \"get\", \"upload_image\", \"remove\", \"unpublish_strategy\". See the tool description for each one."
    • changedInput schema / properties / action / enum
      Previous value: -[
      -  "list",
      -  "get",
      -  "upload_image",
      -  "remove"
      -]New value: +[
      +  "list",
      +  "get",
      +  "upload_image",
      +  "remove",
      +  "unpublish_strategy"
      +]
    • addedInput schema / properties / aiStrategyId
      Added value: +{
      +  "description": "The AiStrategy entity ID (alternative) Used with action=\"unpublish_strategy\".",
      +  "format": "uuid",
      +  "type": "string"
      +}
    • addedInput schema / properties / listingId
      Added value: +{
      +  "description": "The marketplace listing ID (fastest lookup) Used with action=\"unpublish_strategy\".",
      +  "format": "uuid",
      +  "type": "string"
      +}
    • changedInput schema / properties / strategyId / description
      Previous value: -"Used with action=\"get\"."New value: +"The Strategy entity ID (alternative) Used with action=\"get\", action=\"unpublish_strategy\"."
  2. Changed4 schema fields changed
    • addedInput schema / properties / historyBeforeSequence
      Added value: +{
      +  "description": "Used with action=\"list\".",
      +  "pattern": "^[1-9][0-9]*$",
      +  "type": "string"
      +}
    • addedInput schema / properties / historyLimit
      Added value: +{
      +  "description": "Used with action=\"list\".",
      +  "maximum": 100,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / includePublishingDefaults
      Added value: +{
      +  "description": "Used with action=\"list\".",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / includeSharingHistory
      Added value: +{
      +  "description": "Used with action=\"list\".",
      +  "type": "boolean"
      +}
  3. Changed6 schema fields changed
    • changedInput schema / properties / action / description
      Previous value: -"Which operation to run: \"list\", \"get\". See the tool description for each one."New value: +"Which operation to run: \"list\", \"get\", \"upload_image\", \"remove\". See the tool description for each one."
    • changedInput schema / properties / action / enum
      Previous value: -[
      -  "list",
      -  "get"
      -]New value: +[
      +  "list",
      +  "get",
      +  "upload_image",
      +  "remove"
      +]
    • addedInput schema / properties / expectedVersion
      Added value: +{
      +  "description": "Used with action=\"upload_image\".",
      +  "format": "date-time",
      +  "type": "string"
      +}
    • addedInput schema / properties / imageBase64
      Added value: +{
      +  "description": "Used with action=\"upload_image\". Required for action=\"upload_image\".",
      +  "maxLength": 2796204,
      +  "minLength": 4,
      +  "type": "string"
      +}
    • addedInput schema / properties / mediaType
      Added value: +{
      +  "description": "Used with action=\"upload_image\". Required for action=\"upload_image\".",
      +  "enum": [
      +    "image/png",
      +    "image/jpeg",
      +    "image/webp"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / publicationId
      Added value: +{
      +  "description": "Used with action=\"upload_image\", action=\"remove\". Required for action=\"upload_image\", action=\"remove\".",
      +  "format": "uuid",
      +  "type": "string"
      +}
  4. Added

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations (destructiveHint=true, openWorldHint=true), the description discloses which specific actions are safe reads ('Both are read-only') and which is a write, that 'remove' leaves the independent private link unchanged, that 'unpublish_strategy' is a soft-delete setting isActive=false, that uploaded images are validated and re-encoded into private storage and remote URLs are rejected, that history only begins at audit-storage installation, and that link secrets and broker credentials are never returned. This is unusually rich disclosure for a destructive multi-action tool.

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 opening paragraph is a good front-loaded index of all five actions, and the per-action headers make scanning easy for a 14-parameter tool. Some content is repeated — the secrets/credentials guarantee appears twice and the summary restates the per-action sections — which is slightly wasteful but not confusing.

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 five-action, 14-parameter tool with no output schema, the description covers entry requirements, side effects, data-safety guarantees, and history/pagination behavior for every action. The remaining gaps are small: expectedVersion's concurrency role and historyLimit are undocumented, and the 'get' return shape is unspecified.

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 100%, so the baseline is 3, but the description adds real meaning: subjectKind paired with accountId-or-strategyId for 'get', includePublishingDefaults as first-publish preferences, includeSharingHistory with actor/time/before-after and nextBeforeSequence paging via historyBeforeSequence, and imageBase64 bounded to PNG/JPG/WebP with server-side re-encoding. Only historyLimit and expectedVersion (a concurrency token) are left without any explanation beyond their schema tags.

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?

Each of the five actions is stated with a specific verb and resource: 'list' lists account and strategy publications plus private-link status, 'get' reads one publication, 'upload_image' uploads a cover image, 'remove' unpublishes one publication, 'unpublish_strategy' unpublishes a strategy listing. The ownership scope ('your account', 'your publications') clearly separates it from generic marketplace siblings such as marketplace_accounts or marketplace_strategies.

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 description gives per-action entry conditions ('Set "action" to choose the operation. Only send the fields listed for that action') and flags which actions are read-only versus writes, which is exactly the context an agent needs to pick an action. It stops short of explicit routing rules — notably it never says when to use 'remove' versus 'unpublish_strategy', whose descriptions overlap ('unpublishes exactly one owner publication' vs 'removes a strategy from the public marketplace').

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.