Skip to main content
Glama

update_paywall

Update an x402 paywall configuration. Can change price, resource URL, active status, or any other field.

Instructions

Update an x402 paywall configuration. Can change price, resource URL, active status, or any other field.

Input Schema

NameRequiredDescriptionDefault
nameNoNew paywall name
amountNoNew price in human-readable format (e.g. "0.05")
is_activeNoEnable (true) or disable (false) the paywall
paywall_idYesPaywall ID to update
descriptionNoNew description
resource_urlNoNew resource URL
resource_mimeNoNew MIME type
token_decimalsNoToken decimals. Read from the paywall itself when omitted

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv1.14.2
    • changedInput schema / properties / token_decimals / description
      Previous value: -"Token decimals (needed if changing amount)"New value: +"Token decimals. Read from the paywall itself when omitted"
    • addedInput schema / properties / token_decimals / maximum
      Added value: +36
    • addedInput schema / properties / token_decimals / minimum
      Added value: +0
  2. First observedv1.7.3

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden for a mutation tool and it does not deliver. It never says whether omitted fields are preserved or wiped, what permissions are required, whether the change is reversible, or what happens on an invalid paywall_id. This is a significant gap for a write operation with zero structured safety metadata.

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?

Two short sentences with the action front-loaded in sentence one and the scope in sentence two; nothing is padded. The trailing 'or any other field' is slightly vague but does convey partial-update intent, so it largely earns its place.

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 eight-parameter mutation tool with no annotations and no output schema, the description plus full schema coverage is minimally adequate — the agent can populate fields. What is missing is the update contract (partial vs. replace), permission requirements, and post-update behavior, which the schema cannot express.

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 eight parameters are already documented in the schema with formats, bounds, and defaults (e.g. token_decimals read from the paywall when omitted). The description only restates three fields and adds no syntax, format, or interaction detail beyond the schema, so the baseline of 3 applies.

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 verb ('Update') and resource ('x402 paywall configuration'), which cleanly separates it from sibling verbs like create_paywall, get_paywall, list_paywalls, and delete_paywall. The second sentence enumerates the changeable fields, so the scope is concrete. It stops short of an explicit sibling reference, but the verb alone is unambiguous.

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 guidance on when to use this tool versus alternatives, no stated prerequisites (ownership, wallet context, or whether the paywall must exist), and no clarification of partial vs. full-replacement update semantics. The 'or any other field' phrasing hints at partial updates but never states it, leaving the agent to infer the core usage contract.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.