Skip to main content
Glama

Your finder's fee on one deal

calculate

Run the Your finder's fee on one deal calculator: The fee before any cap; Your finder's fee on this deal; Against the minimum payout. Missing inputs fall back to their documented defaults.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "calculate"
  }
}

Input Schema

NameRequiredDescriptionDefault
capNoThe cap on one referral's fee in dollars, if the programme sets one
dealNoThe deal value the share is worked on, in dollars
flatNoThe flat amount per referral, in dollars
rateNoThe programme's share, as a percentage
basisNoHow does the programme work out the fee?percent
minpayNoThe minimum payout in dollars, if the programme sets one

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It usefully states that missing inputs fall back to documented defaults and lists the calculation outputs, but it does not explicitly confirm side-effect-free/read-only behavior or describe error handling. For a calculator that is likely safe, this is adequate but not fully transparent.

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 description is short, front-loaded, and uses a compact list-like structure for the computed outputs. The semicolon-separated output names are somewhat terse, but there is no obvious filler or redundancy.

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?

Given six parameters, full schema coverage, no required inputs, and no output schema, the description gives minimal but useful context: default fallback behavior and the names of three calculation outputs. It does not explain the output values in detail or explicitly state that the tool performs a pure calculation. Completeness is adequate but leaves gaps.

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 the input schema already documents all six parameters, including the enum for 'basis' and defaults. The description only reinforces that unspecified inputs use defaults, adding little parameter meaning beyond the schema. This meets the baseline for high schema coverage.

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 names a specific calculator and verb: 'Run the Your finder's fee on one deal calculator.' It also identifies the computed outputs, so the purpose is clear enough. It does not explicitly differentiate this tool from the sibling 'calculator_describe', leaving some ambiguity about when this execution tool is preferred over describing the calculator.

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 implies the tool is used to run the finder's fee calculation but gives no explicit when-to-use guidance relative to alternatives like calculator_describe. It mentions default fallback behavior for missing inputs but does not explain when an agent should choose this tool versus a sibling.

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