Skip to main content
Glama

create_endpoint_with_payment

Create a new agent endpoint after you have obtained a valid X-Payment payload for the creation challenge. Requires a dashboard PAT with mcp:endpoints:write or mcp:*.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNoPricing mode
nameYesHuman-readable endpoint name
slugYesUnique slug for the new endpoint
chainYesPrimary payout network, usually base, solana, or both
priceNoPrice per request or base package price
categoryNoMarketplace category
currencyNoPayout currency, default USDC
imageUrlNoEndpoint image URL
bannerUrlNoEndpoint banner URL
originUrlYesOrigin URL of the endpoint backend
webhookUrlNoOptional HTTPS webhook URL
accessTokenYesYour dashboard MCP personal access token (sgl_pat_*)
descriptionNoEndpoint description
walletAddressYesPrimary payout wallet address
paymentPayloadYesRaw X-Payment payload returned by the paying client, as JSON or base64 string
purchaseAmountNoUSDC amount to pay on creation, minimum 5
listOnMarketplaceNoWhether to list the endpoint publicly
walletAddressSecondaryNoSecondary wallet when chain is both

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses auth requirements and the payment payload prerequisite, which is valuable. However, it does not clarify whether the payment payload is consumed, whether the payment is executed immediately, or any side effects beyond creating the endpoint. The description could mention that this is a financial transaction requiring careful handling.

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?

Two focused sentences, front-loaded with the action and prerequisites. Every word earns its place—no fluff or repetition of schema content.

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

Completeness3/5

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

Given 18 parameters and no output schema, the description provides only the critical prerequisites. It lacks context about the payment challenge flow (e.g., linking to request_endpoint_creation_payment) or what response to expect. The schema covers parameters, but the tool's complexity and financial nature could benefit from more workflow context.

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?

Schema description coverage is 100%, so parameters are fully documented there. The description adds minimal parameter semantics, only restating the payment payload prerequisite that already appears in the schema. It doesn't clarify how parameters like mode or chain interact, so it aligns with the baseline for a schema-rich tool.

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 new agent endpoint' with specific prerequisites (valid X-Payment payload, PAT scope). The verb+resource is precise and differentiates from sibling tools like update_endpoint or delete_endpoint, and the payment context distinguishes it from other create operations.

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 implies the sequential workflow: 'after you have obtained a valid X-Payment payload' signals that this tool should be used after a payment challenge flow (e.g., request_endpoint_creation_payment). It also states required permissions. However, it doesn't explicitly name the preceding tool or state when NOT to use this tool, leaving slight ambiguity.

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