Skip to main content
Glama

Agent Rest Stop

SlippageCap

Slippage cap. Largest order size that stays under a basis-point cap.

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": {
      "amount_usd": "<amount_usd>",
      "max_bps": "<max_bps>"
    },
    "name": "SlippageCap"
  }
}

Input Schema

NameRequiredDescriptionDefault
max_bpsYes
amount_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?

With empty annotations, the description carries the full behavioral burden. It gives the high-level rule but omits output format, units, rounding behavior, failure behavior, and whether the operation is a pure read-only calculation.

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 definition is two short sentences with no filler, and the clarifying sentence is front-loaded after the title phrase. 'Slippage cap.' is mildly redundant with the tool name, but the overall wording is efficient.

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?

Given no annotations, no output schema, and zero schema descriptions, the definition is too thin for a financial calculation tool. It lacks return-value details, units, edge cases, and the relationship between the two required inputs.

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?

Both parameters are required and schema description coverage is 0%. The description mentions 'order size' and 'basis-point cap', which loosely gesture at amount_usd and max_bps, but it does not map them explicitly or explain units, string formatting, or calculation semantics.

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 second sentence specifies the computation: the largest order size that stays under a basis-point cap, so the tool is more than a title restatement. It does not explicitly differentiate this from the sibling SizeCap or state the input/output relationship, which keeps it below a 5.

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 when-to-use guidance, no prerequisites, and no mention of alternatives such as SizeCap or any other sizing tool. The agent is left to infer the appropriate context entirely.

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