Skip to main content
Glama

Read the partner integrator fee

trnch_partner_fee_get
Read-onlyIdempotent

Read the default integrator fee of a Trnch partner. Returns { partner, bps, maxBps }: partner is the partner code, bps the default fee in basis points (0 to maxBps, 100). The default fee is added to the Trnch fee on swaps attributed to the partner and paid to the partner through the partner program; integratorFeeBps on a quote, buy or sell overrides it for that request; the default applies only to requests that carry X-Trnch-Partner-Key. Authentication: header X-Trnch-Partner-Key linked to a Trnch partner, or Authorization: Bearer of the partner payout wallet; 401 otherwise. 20 calls per minute per IP (429).

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": "trnch_partner_fee_get"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already cover read-only, idempotent, and non-destructive traits, and the description adds substantial context: the fee is added to the Trnch fee on attributed swaps and paid through the partner program, auth is a partner key or payout-wallet bearer token with 401 otherwise, and there is a 20/min per-IP limit returning 429.

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?

It is front-loaded with the return shape, then semantics, then auth and limits, so an agent can stop reading early. The middle sentence about fee attribution and overrides is dense and runs long, but each clause carries information an agent needs.

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

Completeness5/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 compensates fully by enumerating the returned fields (partner, bps, maxBps) and their meaning, plus auth and rate-limit behavior. Nothing an agent needs in order to call this zero-parameter read 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?

The tool takes no parameters, so there is no parameter semantics to explain; the description still usefully explains the bps range (0 to maxBps, 100) that governs the returned value, which adds meaning beyond an empty schema.

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 opens with a specific verb and resource: 'Read the default integrator fee of a Trnch partner.' The word 'default' implicitly separates it from the sibling setter trnch_partner_fee_set, but no sibling is named explicitly, so the differentiation is left to inference.

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?

It gives clear contextual conditions: the default applies only to requests carrying X-Trnch-Partner-Key, and integratorFeeBps on a quote, buy or sell overrides it for that request. That effectively routes the agent, though it never says when to prefer a different tool outright.

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