Skip to main content
Glama

list_l402_apis

Read-onlyIdempotent

Discover L402 APIs you can pay for with pay_l402_api. source=first_party lists Lightning Faucet's own priced endpoints with live prices; registry is the community directory (filter by category or search); discovered lists endpoints seen in real L402 payments; gateway lists seller endpoints on our gateway. Public, no key, read-only.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_l402_apis"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number, starting at 1. Default 1
limitNoRows per page, 1 to 50. Default 20
searchNoText to match on API name or provider, for example weather
sourceNoWhere to list from: first_party, registry, discovered or gateway. Default registryregistry
categoryNoCategory filter for registry and gateway sources, for example data or finance

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / category / description
      Added value: +"Category filter for registry and gateway sources, for example data or finance"
    • addedInput schema / properties / limit / description
      Added value: +"Rows per page, 1 to 50. Default 20"
    • addedInput schema / properties / page / description
      Added value: +"Page number, starting at 1. Default 1"
    • addedInput schema / properties / search / description
      Added value: +"Text to match on API name or provider, for example weather"
    • addedInput schema / properties / source / description
      Added value: +"Where to list from: first_party, registry, discovered or gateway. Default registry"
  2. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, so safety is covered; the description adds genuinely new facts — that it is public with no key required, and that first_party prices are live while discovered entries come from real observed payments. It does not describe the returned record shape or paging envelope, which matters since there is no output schema.

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?

Purpose is front-loaded in the first clause and the four source modes are packed into one semicolon-delimited list with no filler. The single long sentence is dense enough that a bulleted source breakdown would read faster, but nothing is wasted.

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 five-parameter, four-mode discovery tool with no output schema, the definition tells the agent the auth model, the meaning of each source, and the follow-on payment tool. What remains thin is the response envelope — it never says what fields a listed API carries or how paging metadata comes back.

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 coverage is 100%, so the baseline is 3, and the description mostly restates the enum meanings rather than extending them with syntax or formatting detail. It does add a little value by indicating that first_party entries carry live prices and that the category filter only applies to some sources.

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 ("Discover L402 APIs") and immediately scopes it to those "you can pay for with pay_l402_api," which cleanly separates it from the sibling payer tool. The four source modes further pin down exactly what inventory is being listed.

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 routes the agent explicitly: use this to find APIs, then use pay_l402_api to pay, and it explains which source to pick for each need (own endpoints, community directory, observed payments, gateway sellers). It stops short of stating exclusions, e.g. that this lists rather than executes payments.

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.