Skip to main content
Glama

paywall__customer_deduct_from_fup

Deducts a unit from the customer's available workflow allowance. Do not call this tool when the customer is requesting assistance related to the pay wall and its subscriptions. This tool should be called after each AI response that is not pay wall related. @param customer_id: The customer's database id @return: a json object, containing the customer_id and remaining fup token balance in the "values" object

Input Schema

NameRequiredDescriptionDefault
customer_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -{
      -  "type": "object"
      -}New value: +null
  2. Added

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose that this mutates state (consumes one unit of allowance) and describes the return payload shape. It omits failure behavior when the allowance is exhausted, idempotency/retry safety, and how the allowance is replenished — meaningful gaps for a consumption/mutation tool.

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?

The action and the call-timing rules are front-loaded in the first three lines, with @param/@return JSDoc appended for reference. Every sentence carries information, though the JSDoc tags are slightly more verbose than a plain sentence would need to be.

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?

There is no output schema, and the description steps up by documenting the return object and its 'values' fields (customer_id, remaining fup balance). Combined with the call-timing rules, param meaning, and mutation disclosure, it is nearly complete for a one-parameter tool; only error/edge-case behavior is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/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 compensate for the single parameter, and it does: customer_id is described as 'the customer's database id', clarifying identity semantics the bare integer schema does not.

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 ('deducts') and resource ('customer's available workflow allowance'), so the operation is unambiguous. It does not name or contrast with closely related siblings such as paywall__customer_allowance_workflow or paywall__cost_per_fup_unit, so an agent must infer the boundary from the paywall namespace.

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?

Gives a concrete call condition ('after each AI response that is not pay wall related') and an explicit exclusion ('do not call ... when the customer is requesting assistance related to the pay wall and its subscriptions'). No alternative tool is named for the excluded case, which is the only gap.

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