Skip to main content
Glama

Truvana Tech Card Processing and POS Database

Cash discount / surcharge sign check

card_price_sign_check
Read-onlyIdempotent

The percent a cash discount, two-price or credit card surcharge sign may show in a US state, and whether cash totals may be rounded to 5¢ there. The printable English/Spanish sign itself is made on the page. Interactive version: https://truvanatech.com/tools/cash-discount-sign-maker

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": {
      "state": "<state>",
      "method": "<method>",
      "percent": "<percent>"
    },
    "name": "card_price_sign_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
stateYesUS state name, or "Washington, DC"
methodYescash-discount: card price posted, cash pays less; dual: both prices shown; surcharge: % added to credit cards
percentYesThe percent the merchant wants on the sign

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and a closed-world scope, so safety is covered. The description adds genuinely non-redundant behavior: the call returns a legal maximum percent plus a rounding-permission flag, and it does not produce the sign artifact itself. It says nothing about what happens when the requested percent exceeds the state limit, which is the most likely failure mode.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is short, but the opening sentence is a noun phrase with no verb, so the primary purpose is not front-loaded as an action. The appended truvana URL is navigational noise for an agent and consumes part of an already sparse definition.

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?

There is no output schema, so the description carries the burden of explaining returns; it does state the two outputs (allowed percent, 5¢ rounding) at a high level. However, for a compliance-check tool it omits the result shape when the requested percent is not allowed, and it does not clarify whether federal or state rules supersede, leaving a meaningful gap.

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% and the enum for method is documented in the schema, so the baseline is 3. The description's mention of the three sign types loosely maps to the method values but adds no format, range or validation detail beyond what the schema already states.

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 identifies the resource (state rules on cash-discount, two-price and surcharge signs) and what the call yields: the allowable percent and whether cash totals may be rounded to 5¢. It is not phrased as a clear verb+resource statement, and it never names how it differs from siblings like card_surcharge_rules or card_fee_calculator, but the subject matter is unmistakable.

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 explicit when-to-use or when-not-to-use guidance, and no alternative tool is named. The only boundary hint is the sentence saying the printable sign is made on the page, which implies this tool checks rather than generates, but an agent must infer that rather than read it.

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.