Skip to main content
Glama

Set the partner integrator fee

trnch_partner_fee_set
Idempotent

Set the default integrator fee of a Trnch partner, an integer from 0 to 100 basis points. Returns { partner, bps, maxBps, previousBps }. Each change is recorded with its channel. 400 for a value out of range. 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

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": {
      "bps": "<bps>"
    },
    "name": "trnch_partner_fee_set"
  }
}

Input Schema

NameRequiredDescriptionDefault
bpsYesNew default integrator fee in basis points (100 = 1%).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing the return shape, that each change is audit-logged with its channel, the 400 out-of-range behavior, the two accepted auth mechanisms with the 401 fallback, and a 20/min per-IP rate limit with 429. It does not restate idempotency even though idempotentHint is true, and it doesn't say whether lowering a fee affects in-flight quotes; those are minor gaps against otherwise strong disclosure.

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?

Front-loaded with purpose and return shape, then error, auth, and rate-limit facts in short declarative sentences; every sentence carries operational information. Slight cost in density — the return object and error codes are embedded mid-prose rather than separated, which makes the payload a bit list-like to parse.

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?

For a single-parameter mutation with no output schema, the description supplies everything needed: value semantics, the response shape, audit behavior, error conditions, authentication, and rate limits. An agent could call this correctly without consulting anything else.

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?

Schema coverage is 100% and already documents bps as 0-100 with '100 = 1%', so the baseline is 3. The description adds meaning beyond the schema by framing the value as the partner's default fee and by exposing maxBps in the return shape, hinting there is a partner-specific ceiling on the value that the schema's static maximum doesn't convey.

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?

States a specific verb and resource ('Set the default integrator fee of a Trnch partner') plus the value domain, so the operation is unambiguous. It does not explicitly reference the sibling read tool trnch_partner_fee_get, though the set/get naming makes the distinction nearly self-evident.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the phrase 'default integrator fee' and the fact that a per-call maxBps is returned, but there is no explicit statement of when to prefer this over alternatives or what prerequisites (e.g., being the payout wallet owner) apply. Nothing is misleading, but guidance stops short of explicit when/when-not.

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