Skip to main content
Glama

List Envia Carriers

envia_get_carriers
Read-onlyIdempotent

List available shipping carriers for a country on Envia.com to retrieve carrier IDs, weight limits, and pickup details for rate quoting and label creation.

Instructions

List available shipping carriers on Envia.com for a country.

Mexico has 34+ carriers including DHL, FedEx, Estafeta, PaqueteExpress, Redpack, etc.

Args: country_code — Country code (default: "MX") limit — Max results per page (1-50, default: 20) offset — Pagination offset (default: 0) response_format — "markdown" (default) or "json"

Returns: Paginated list of carriers with ID, name, endpoint, weight limits, and pickup info.

Examples: First page: limit=20, offset=0 Second page: limit=20, offset=20 All MX carriers: limit=50, offset=0

Errors: 403 — Invalid API key

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

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum results to return
offsetNoNumber of results to skip for pagination
country_codeNoCountry code (default: MX). Returns 34 carriers for Mexico.MX
response_formatNoOutput format: 'markdown' for human-readable or 'json' for machine-readablemarkdown

Output Schema

NameRequiredDescriptionDefault
countYes
totalYes
offsetYes
carriersYes
has_moreYes
next_offsetNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world behavior, so the safety profile is covered. The description adds genuine context beyond that: the paginated structure, the fields returned (ID, name, endpoint, weight limits, pickup info), and the specific 403 failure mode for an invalid API key.

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

Conciseness3/5

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

The opening sentence is well front-loaded, but the Args section duplicates the schema verbatim and the Mexico carrier count is repeated in both the intro and the schema. The Examples and Errors blocks are useful but the overall body carries redundancy for a four-parameter list tool.

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?

The tool is simple (four optional params, all with defaults), and the description covers pagination, output fields, defaults and an error case. An output schema also exists, so the return-value detail is supplementary rather than required.

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 coverage is 100%, so defaults, min/max and enum values are already fully documented in the structured fields. The Args block largely restates the schema, and the examples (limit=20/offset=20) show combinations that are easily inferred; marginal added meaning.

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 available shipping carriers on Envia.com for a country") and adds a concrete scope detail (34+ carriers in Mexico with named examples). It does not explicitly differentiate itself from the closest sibling, envia_get_services, so an agent must infer that services (rates) differ from carriers.

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 through the examples (first page, second page, all MX carriers), which show pagination patterns but not when to prefer this over envia_get_services or envia_quote. No exclusions or prerequisites are stated.

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