Skip to main content
Glama

Swarms Marketplace

Claim the creator fees on a token you own

post_product_claimfees

Claim the creator fees on a token you own Signs Jupiter’s claim transaction with privateKey in memory and submits it. ca must be the token of one of your products, and privateKey must be that token’s fee wallet. The key is never stored or logged. Calls POST /api/product/claimfees on swarms.world with your API key.

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": {
      "ca": "<ca>",
      "privateKey": "<privateKey>"
    },
    "name": "post_product_claimfees"
  }
}

Input Schema

NameRequiredDescriptionDefault
caYesToken mint address
privateKeyYesFee wallet secret key: base58, base64, or a JSON array of 64 numbers

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Beyond the annotations (readOnly=false, destructive=false, idempotent=false), the description discloses that a private key is signed in memory, that the key is never stored or logged, and which HTTP endpoint the call maps to on swarms.world — valuable security and side-effect context. It omits failure behavior and what happens on repeat claims, which is relevant given idempotentHint=false.

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?

Four short sentences, front-loaded with the action and followed by the signing/endpoint detail; almost nothing is wasted. Minor flaw: the first sentence runs straight into "Signs" without punctuation, slightly hurting scannability.

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 two-parameter mutation with no output schema, the definition covers prerequisites, key handling, and the API route, which is enough to invoke it safely. The main remaining gap is the response shape and error conditions on an invalid or mismatched fee wallet, which no output schema documents.

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 constraint semantics: `ca` must belong to one of your products and `privateKey` must be that token's fee wallet, tying the two parameters together. That ownership pairing is not expressed in the schema itself.

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 uses a specific verb+resource ("Claim the creator fees on a token you own") plus concrete mechanics (signs Jupiter's claim transaction, submits via POST /api/product/claimfees). It is clearly distinct from the sibling get_product_fees, but never names that sibling explicitly, so it falls short of full differentiative clarity.

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 supplies hard prerequisites: `ca` must be one of your products' tokens and `privateKey` must be that token's fee wallet, which effectively tells the agent the only valid calling situation. It gives no explicit when-not conditions and does not point to get_product_fees as the way to check accrued fees first.

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