Skip to main content
Glama

create_app_kit

Step 2 of onboarding a new app onto SparkPay. Applies answers.plan_catalog by minting real Stripe prices (same helper /api/apps/sync-plans uses) and registers/updates the app, then returns a downloadable integration kit (lib/spark-pay client + plans.json + sync script + INTEGRATION.md, modeled on still-applying's golden pattern) plus exact post_steps for env vars and secrets. Refuses to overwrite an existing app's plans unless answers.confirm_overwrite is true. Real secrets (a push-mode webhook secret) are only ever returned in post_steps, never written into a kit file.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
answersYes
app_nameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so well: it discloses real side effects (minting actual Stripe prices via the sync-plans helper, registering/updating the app), a destructive-action guard (overwrite refused without confirm_overwrite), and a security property (secrets only returned in post_steps, never written to a kit file). These are exactly the traits an agent needs before invoking a mutating 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 workflow step is front-loaded and the sentences are dense but each carries distinct information (side effects, guard, output contents, secret handling). Slightly heavy for a single paragraph, but no filler sentences.

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 complex, nested, no-annotation, no-output-schema tool, the description covers side effects, outputs (kit contents, post_steps), and mutation guards. Remaining gap is that several nested input fields and the exact return shape are unspecified, but the essential calling context is present.

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 0% with nested objects, so the description should compensate. It adds real meaning to answers.plan_catalog (minted into real Stripe prices), answers.confirm_overwrite (overwrite gate), and push_mode (push-mode webhook secret), but leaves success_url, cancel_url, trial_days, and the monthly/yearly/payment_type distinctions undocumented. Partial compensation only.

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?

States a specific verb and resource ('Applies answers.plan_catalog by minting real Stripe prices ... registers/updates the app') and frames itself precisely as 'Step 2 of onboarding a new app onto SparkPay'. The unique outputs (integration kit + post_steps) distinguish it from siblings like plan_app_kit and setup_pricing_page without opening a 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?

The 'Step 2 of onboarding' framing implies a preceding step and a clear point in the workflow, and it states a conditional guard ('Refuses to overwrite ... unless answers.confirm_overwrite is true'). However, it never names the sibling alternative (e.g. plan_app_kit as the preview/first step), so the routing is implied rather than explicit.

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