Skip to main content
Glama

List Carrier Services

envia_get_services
Read-onlyIdempotent

List and paginate available shipping services for a specific carrier on Envia.com, returning service IDs, names, delivery estimates, and capabilities.

Instructions

List available services for a specific carrier on Envia.com.

Service counts vary by carrier: DHL=31, FedEx=130, Estafeta=8.

Args: carrier — Carrier string (e.g., "dhl", "fedex", "estafeta") country_code — Country code (default: "MX") limit — Max results per page (1-100, default: 20) offset — Pagination offset (default: 0) response_format — "markdown" (default) or "json"

Returns: Paginated list of services with ID, name, description, delivery estimate, and capabilities.

Examples: DHL services: carrier="dhl" FedEx page 2: carrier="fedex", limit=20, offset=20

Errors: 400 — Invalid carrier name 403 — Invalid API key

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

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum results to return
offsetNoNumber of results to skip for pagination
carrierYesCarrier string (e.g., "dhl", "fedex", "estafeta")
country_codeNoCountry code (default: MX)MX
response_formatNoOutput format: 'markdown' for human-readable or 'json' for machine-readablemarkdown

Output Schema

NameRequiredDescriptionDefault
countYes
totalYes
offsetYes
carrierYes
has_moreYes
servicesYes
next_offsetNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so the safety profile is covered. Beyond that, the description adds genuinely useful behavior: result-set sizes per carrier (DHL=31, FedEx=130, Estafeta=8), pagination via limit/offset, the fields returned, and error semantics (400 invalid carrier, 403 invalid API key implies an auth requirement).

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?

The purpose is front-loaded in one sentence, then cleanly sectioned into Args, Returns, Examples, and Errors. Some content duplicates the schema (defaults, ranges, enum options), which is redundant but not harmful, so it is slightly longer than necessary.

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 simple read/list tool with full schema coverage, an output schema, and rich annotations, the description covers everything an agent needs: required carrier, defaults, pagination, return fields, and error conditions. Nothing material is missing.

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?

With 100% schema description coverage the baseline is 3, and the description largely restates the schema's ranges and defaults. It adds modest value through the pagination example (carrier="fedex", limit=20, offset=20) and the carrier-count hints, but no extra syntax or edge-case guidance beyond what the schema already documents.

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 opening sentence gives a specific verb and resource ("List available services for a specific carrier on Envia.com"), which is unambiguous. It does not explicitly distinguish itself from the closest sibling, envia_get_carriers, so an agent must infer that this tool lists services rather than 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 only implied: per-carrier examples ("DHL services: carrier=\"dhl\"") show how to call it, and the service-count hints suggest it's a discovery step before quoting or labeling. There is no explicit statement of when to use this versus envia_get_carriers, envia_quote, or envia_create_label, and no prerequisites are given.

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