Skip to main content
Glama

IndieAPIs

Publish a new REST API with custom multi-tier pricing

publish_api

Submit a new REST API to IndieAPIs with endpoints (or OpenAPI 3 JSON) and 1–10 custom hard-capped pricing plans (Free, Starter, Pro, Scale, Enterprise, etc.). Runs live endpoint probe + AI review and returns the live API URL and MCP URL.

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": {
      "name": "<name>",
      "tagline": "<tagline>",
      "description": "<description>",
      "base_url": "<base_url>"
    },
    "name": "publish_api"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesPublic API name (e.g. Global Weather Forecast API)
plansNo1–10 custom hard-capped pricing plans (e.g. Free $0, Starter $9, Pro $29, Scale $99)
taglineYesOne-line value proposition
base_urlYesPublic HTTPS upstream base URL (hidden from buyers behind IndieAPIs gateway)
categoryNoCategory slug (sports, automotive, finance, ai-tools, developer, data, utilities)
logo_urlNoOptional HTTPS logo URL
endpointsNoList of endpoints (required unless openapi_json is provided)
descriptionYesDetailed docs & use cases (Markdown supported)
openapi_jsonNoOptional OpenAPI 3.0 JSON spec (auto-imports up to 25 endpoints)
upstream_headersNoOptional secret upstream headers (encrypted with AES-256-GCM)
cache_ttl_secondsNoOptional GET cache TTL in seconds (0–86400)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

The annotations already establish that this is a non-read-only, non-idempotent, open-world write. The description adds real context beyond that: a live endpoint probe and AI review run during submission, and the call returns a live API URL plus an MCP URL. It omits what an agent most needs for a publish operation, though: whether the listing goes live immediately or awaits review, what happens if the probe fails, and whether a failed submission leaves partial state.

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 sentences, zero filler: the first front-loads what is submitted and its two payload modes, the second covers processing and return values. Every clause carries information an agent cannot get from the name alone.

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?

For an 11-parameter, nested-object, mutation-style tool with no output schema, the description usefully discloses the return values (live API URL, MCP URL) and the validation pipeline. It is still incomplete on outcome semantics: publication status, failure handling, and whether the probe result can reject the submission are all unstated.

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 all 11 parameters (including nested plan and endpoint fields) are already documented. The description reinforces the two most consequential semantics, the endpoints-versus-openapi_json alternative and the 1-10 plan count, but adds no format or constraint detail beyond what the schema states.

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 and resource ('Submit a new REST API to IndieAPIs') and states the required payload shape (endpoints or OpenAPI JSON plus 1-10 pricing plans), so an agent knows exactly what the tool creates. It does not explicitly name or differentiate itself from siblings such as manage_api_plans or my_published_apis, leaving that distinction to inference.

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?

There is no when-to-use or when-not-to-use guidance: nothing says to prefer manage_api_plans for editing an existing listing, nor what prerequisites exist (account status, ownership, approval). The only conditional guidance ('endpoints required unless openapi_json is provided') is restated from the schema rather than added as usage context.

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