Skip to main content
Glama

Seller: sales and usage for your paywall

paywall_stats
Read-only

For paywall owners: packs sold, calls sold and served, revenue tally, and settings. Requires admin_key.

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": {
      "paywall_id": "<paywall_id>",
      "admin_key": "<admin_key>"
    },
    "name": "paywall_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
admin_keyYes
paywall_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered; the description adds the non-obvious authentication prerequisite (admin_key) and the scope of data returned. It does not state what an invalid or non-admin key yields, nor any rate limits.

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?

A single dense sentence with the audience qualifier front-loaded and the auth requirement placed last, wasting no words. 'and settings' is slightly vague but does not bloat the text.

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?

With no output schema, listing the returned metrics partially substitutes for a response description, and the auth requirement is present. However, 'settings' is undefined and the description does not say what happens on a missing or invalid admin_key, leaving real gaps for a two-required-parameter tool.

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%, so the description must carry the load. It clarifies that admin_key is an authorization credential the caller must supply, but says nothing about paywall_id beyond the implication of the 'For paywall owners' framing, and gives no format hints for either.

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?

States a specific resource and enumerates what is returned: packs sold, calls sold and served, revenue, and settings. The 'For paywall owners' qualifier separates it from sibling paywall tools like create_paywall or access_status, though it never names an alternative explicitly.

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

Usage Guidelines3/5

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

Sets the audience ('for paywall owners') and a prerequisite ('Requires admin_key'), which implies when the tool applies. It offers no explicit when-not guidance or routing to siblings such as referral_stats, leaving the agent to infer boundaries from names alone.

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.