Skip to main content
Glama

BotSpot: AI Trading, Backtests and Bots

Publish a strategy to the public marketplace

publish_to_marketplace
DestructiveIdempotent

Publishes a strategy to the public marketplace where users can discover it. Marketplace listing status is the public contract; bot deployments remain private. Tags can be set for categorization (holdingPeriod, riskLevel, plan tier). Free and paid monthly listings are supported. Paid listings force code protection. If already published, updates and returns the existing listing. For private 1:1 sharing, use strategy_share_link(action="create") instead.

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": {
      "strategyId": "<strategyId>"
    },
    "name": "publish_to_marketplace"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsNoCategorization tags for the listing
accountIdNoExact owned proof account; paper and real use separate listings.
backtestIdNoExact owned successful headline backtest. Reuse the current published ID to preserve its statistics; a different run must cover at least 180 days.
strategyIdYesThe Strategy entity ID (required)
protectCodeNoHide strategy code. Paid monthly listings always force this true.
pricingModelNoMarketplace pricing. Default free.
priceCurrencyNoISO currency code. Default usd.
priceAmountCentsNoMonthly price in cents. Required for pricingModel=monthly.
allowHoldingsViewNoWhether public listing viewers can see holdings.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / backtestId
      Added value: +{
      +  "description": "Exact owned successful headline backtest. Reuse the current published ID to preserve its statistics; a different run must cover at least 180 days.",
      +  "format": "uuid",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint, idempotentHint, and openWorldHint, so the description's job is to add context, which it does: it explains the public-contract boundary (bot deployments stay private), that paid listings force code protection, and that re-publishing updates and returns the existing listing. What it omits is the downstream consequence of publication — fees, takedown/reversibility, or whether stats become visible — though the privacy/protection disclosures are the highest-value ones here.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Five short sentences, front-loaded with the core action and public/private boundary, then pricing and protection rules, then the sibling redirect. No filler or repeated phrasing; every sentence carries a distinct rule.

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 9-parameter mutation with a nested tags object and no output schema, the description covers the decisions an agent cannot read from structured fields: what becomes public, how re-publish behaves, and the paid/protection coupling. Remaining gaps like backtestId reuse and currency defaults are already handled at 100% schema coverage, so completeness is good but not exhaustive.

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?

With 100% schema description coverage, the schema already documents every parameter including tags enums and the paid-listing protection rule, so the baseline is 3. The description does add some framing around tags as categorization dimensions and the free-vs-paid model, but it largely restates what the schema already states, contributing little net new semantic detail.

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?

"Publishes a strategy to the public marketplace where users can discover it" gives a specific verb, resource, and audience/scope. It also distinguishes the public marketplace listing from private bot deployments, so an agent can tell it apart from strategy_share_link without opening either 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?

It states the primary use case (public discoverable listing) and names a concrete alternative with the selecting condition: "For private 1:1 sharing, use strategy_share_link(action=\"create\") instead." It also clarifies re-publish behavior rather than requiring a separate create/update decision. It does not address other marketplace siblings such as unpublish_from_marketplace or save_marketplace_publication, leaving that routing to inference.

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.