Skip to main content
Glama

Seller: switch your paywall on/off or list it

set_paywall_enabled
Idempotent

For paywall owners: enabled=false stops new sales and paid calls instantly; listed=true/false shows or hides it in the public directory. 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>",
      "enabled": "<enabled>"
    },
    "name": "set_paywall_enabled"
  }
}

Input Schema

NameRequiredDescriptionDefault
listedNo
enabledYes
admin_keyYes
paywall_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare this is a non-read-only, idempotent, non-destructive operation. The description adds important behavioral context beyond those annotations: disabling stops new sales and paid calls instantly, listing controls public directory visibility, and admin_key is required. It does not describe response behavior or permission details, so it is not a 5.

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?

The description is two compact sentences with no wasted wording. The scope and key effects are front-loaded, making it easy to scan.

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 simple toggle tool with annotations and no output schema, the description covers the main safety-relevant effects and required auth. It is slightly incomplete in not explaining paywall_id semantics or response behavior, but is sufficient for correct invocation.

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?

With 0% schema description coverage, the description must compensate for parameter documentation. It explains the effects of enabled and listed and notes that admin_key is required, but does not clarify paywall_id or admin_key format/meaning, leaving partial compensation.

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 clearly states that this tool switches a paywall's enabled state and public directory listing for paywall owners. It is specific about the resource and effects, but does not explicitly distinguish itself from the similar sibling set_policy_enabled.

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?

The description identifies the audience ('For paywall owners') and gives consequences of the flags, implying when to use it. However, it provides no explicit when-to-use versus alternatives or when-not guidance, especially relative to set_policy_enabled.

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.