Skip to main content
Glama
trackified-mcp

trackified-mcp

Official
by trackified

Resolve a carrier name

resolve_carrier
Read-only

Map a free-text carrier name or provider slug to a Trackified carrier ID, returning confidence and match status so you can identify supported carriers or detect unknown ones.

Instructions

Map a free-text carrier name or another provider's slug ('FedEx SmartPost', 'Correos de España', 'royal-mail') to the Trackified carrier ID. Returns { carrier, name, confidence, matched }, or { carrier: null } when the carrier is unknown or not supported.

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

Input Schema

NameRequiredDescriptionDefault
nameYesCarrier name, service name or provider slug

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover read-only and open-world nature, and the description adds genuinely useful behavior: the exact return fields (carrier, name, confidence, matched) and the failure shape { carrier: null } for unknown or unsupported carriers. It does not mention whether confidence is a 0-1 float or how matching ambiguity is handled, keeping it below a 5.

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 sentences: the action with examples first, the return contract second. No filler, and the examples directly serve the caller's need to know what input shapes are accepted.

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 one-parameter read-only resolver with no output schema, the description supplies both the success and failure return shapes and the range of acceptable inputs. Nothing needed to call it correctly 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 single parameter is fully documented in the schema, so the baseline is 3; the description earns more by demonstrating accepted input formats ('FedEx SmartPost', 'Correos de España', 'royal-mail'), which tells the agent that service names, accented localized names, and slugs are all valid.

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 precise verb and transformation: map a free-text carrier name or provider slug to the Trackified carrier ID, with three concrete examples spanning a service name, a localized name, and a slug. It does not distinguish itself from siblings like search_carriers or detect_carrier, so it falls short of 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 Guidelines3/5

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

The description implies the use case (you have free text and need a canonical ID) and notes the unknown/unsupported outcome, but it never says when to prefer this over search_carriers or detect_carrier, nor any prerequisites such as whether the input should be trimmed or case-sensitive.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.