Skip to main content
Glama
tokportal

tokportal-mcp

Official
by tokportal

tokportal_create_bundle

Creates and pays for an account-only, account-and-videos, or videos-only bundle in a single atomic checkout, debiting credits immediately on successful submission.

Instructions

Create a bundle. Creates and pays an account-only, account-and-videos, or videos-only bundle in one atomic creation checkout. Credits are debited immediately on a successful POST, not when the bundle is published. Credit cost is calculated server-side from the workspace cohort and any contract_bundle_allowance returned by getCreditCosts. A qualifying allowance slot is consumed in the same transaction as the credit debit; failed requests consume nothing. The exact new-customer and saved-account cutoff is the immutable production PRE-migration instant returned by getCreditCosts. A real TikTok or Instagram saved account created on or after that cutoff receives its first 30 days of TokPortal Coverage included unless the creation response marks it contractually exempt. For Advanced Niche Warming, either pass advanced_warming_terms now, or buy a target count with advanced_warming_terms_count at the effective workspace rate and configure the targets later via PUT /bundles/{id}/warming-terms. Count-only purchases that are never configured are auto-cancelled and fully refunded after 14 days. external_ref is a client correlation and duplicate-detection aid, not a retry mechanism; only Idempotency-Key provides exact request replay.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyYesJSON request body.
idempotency_keyNoOptional Idempotency-Key header for safe retries.
Behavior5/5

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

The description extensively discloses behavioral traits not covered by annotations: immediate credit debit, server-side cost calculation, allowance slot consumption, auto-cancellation of unconfigured warming terms, refund policies, and the distinct roles of external_ref and idempotency_key. This goes far beyond the minimal annotation set (readOnlyHint=false, etc.) and fully informs the agent about side effects and guarantees.

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?

Despite being long, every sentence carries essential information. The description is front-loaded with the core action ('Create a bundle') and then logically flows through payment, credit costs, allowance details, warming options, and idempotency. No superfluous text; it is as concise as complexity demands.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (nested body, multiple conditional fields, business rules around credits and refunds) and the absence of an output schema, the description covers nearly every aspect needed for correct invocation: creation types, payment timing, cost calculation, advanced warming configuration, auto-cancellation, and duplicate detection. It is complete enough for an agent to use without guessing.

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?

The schema already provides 100% coverage with detailed parameter descriptions, so the baseline is 3. The tool description adds significant overarching context (credit debit timing, allowance consumption, auto-cancellation, cutoff for free trial) that enriches understanding of why parameters behave as they do, though it does not describe individual parameters in new detail. This elevates the score to 4.

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 clearly states 'Create a bundle' and elaborates on three distinct bundle types (account-only, account-and-videos, videos-only), making the tool's purpose very specific. While it doesn't explicitly differentiate from sibling tools like tokportal_create_bundles_bulk, the naming convention and detailed type descriptions suffice to identify this as the tool for single-bundle creation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no explicit guidance on when to use this tool versus siblings or alternatives. It does not mention when not to use it, nor does it reference other tools for different scenarios (e.g., bulk creation, publishing, updating). The internal guidance on bundle types is about configuring the request, not tool selection.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tokportal/tokportal-python'

If you have feedback or need assistance with the MCP directory API, please join our Discord server