Skip to main content
Glama

Agent Rest Stop

FeeAdd

Add a fee in basis points, rounded to the cent.

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": {
      "subtotal_usd": "<subtotal_usd>",
      "fee_bps": "<fee_bps>"
    },
    "name": "FeeAdd"
  }
}

Input Schema

NameRequiredDescriptionDefault
fee_bpsYes
subtotal_usdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It discloses basis-point calculation and cent rounding, but omits whether the operation is a pure calculation or a mutation, what permissions are needed, and what the return value is.

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 single sentence is front-loaded and contains no filler or repetition. Its terseness is not a structural flaw, though the same brevity contributes to gaps in other dimensions.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool is structurally simple with only two parameters, but the lack of annotations, output schema, and schema descriptions leaves the agent without enough information to format inputs or understand the result. The description should clarify string formats, rounding behavior, and whether the tool returns a computed fee or a modified total.

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

Parameters2/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 both parameters being undocumented. It indirectly explains fee_bps as basis points and implies a USD monetary amount via 'rounded to the cent,' but it does not clarify the required string formats for subtotal_usd or fee_bps, nor whether subtotal is expressed in dollars or cents.

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 verb 'Add' and resource 'fee' are specific, and 'in basis points, rounded to the cent' clarifies the operation. However, 'add' is ambiguous about whether it computes a fee amount or mutates an existing total, and no sibling is named for differentiation.

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?

The description provides no guidance on when to use this tool, when not to use it, or what alternatives exist. It merely states the operation without contextual routing.

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