Skip to main content
Glama

GetPartnerCarrierSurcharges

List partner carrier surcharges configured at /partner/surcharges — margin, contract, linked carrier products. Use for questions like 'are DPD surcharges correct for partner X?' Partners only see their own surcharges.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax rows (default 100)
amountNoFilter exact partner margin amount, e.g. 55 for €55 (optional)
searchNoSearch surcharge name or code (optional)
carrierNoFilter carrier: DPD, DHL, PostNL, etc. (optional)
intentIdNoIntent ID from RecordUserQuestion
partnerIdYesPartner ID (partners must use their own)
carrierContractIdNoFilter carrier contract ID (optional)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and does disclose a real trait: per-partner visibility restriction ('Partners only see their own surcharges') and the underlying endpoint. It omits read-only confirmation, result ordering, and pagination behavior beyond the schema's limit default.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two tight sentences with no filler; the purpose is front-loaded and the usage hint plus permission constraint follow immediately. Every clause earns its place.

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

Completeness4/5

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

For a seven-parameter read tool with no annotations and no output schema, the description covers purpose, filterable fields, a usage example, and access scoping. Return-format details are not needed (list semantics), but pagination and ordering behavior are left unaddressed.

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 schema already documents all seven parameters with examples (e.g. amount=55 for €55). The description's mention of 'margin, contract, linked carrier products' loosely maps to amount, carrierContractId, and carrier, but adds no new syntax or semantics beyond what the schema states.

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 ('List partner carrier surcharges') plus the resource path and the fields it returns (margin, contract, linked carrier products). It does not explicitly differentiate itself from the sibling SearchCarrierSurcharges, but the 'partner' scoping is clear enough to infer the distinction.

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?

Provides concrete usage context with an example question ('are DPD surcharges correct for partner X?') and a scoping rule ('Partners only see their own surcharges'). It stops short of naming when to prefer the sibling SearchCarrierSurcharges, so no explicit exclusions are given.

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