{"apiVersion":"v1","directorySlug":"envia-mcp-016f6188e3","title":"Shipping Platform for Packages Across the United Kingdom | E","description":"Logistics platform for your business. Send parcels and freight across the UK and worldwide with preferential rates on courier, parcel, and consolidated freight.","pageUrl":"https://www.mcpbundles.com/skills/envia-mcp-016f6188e3","connectPath":"importable","connectAction":"import_server","catalogListing":false,"bundleSlug":null,"listingKind":"remote_mcp","kind":"provider","transportUrl":"https://mcp.envia.com/mcp","hostedMcpUrl":null,"toolCount":72,"toolInventoryStatus":"observed","refreshedAt":"2026-11-27T13:31:41.321780+00:00","registryName":"com.envia/envia-mcp-016f6188e3","registryVersion":"2026.11.27","registryEligible":true,"tools":[{"name":"envia_validate_address","description":"Validate a postal code or look up a city to get the correct city, state, and country values. Use this before creating labels to prevent address-related errors. Provide either postal_code or city (or both). Country is always required (2-letter ISO code, e.g. MX, US, CO).","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["country"],"properties":{"city":{"type":"string"},"country":{"type":"string","pattern":"^[A-Za-z]{2}$"},"postal_code":{"type":"string"}}},"title":"Validate address","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"envia_validate_address","displayName":"Validate address"},{"name":"envia_list_carriers","description":"List available shipping carriers for a country. Optionally include their services. Use this to find which carrier and service codes to pass to envia_quote_shipment or envia_create_shipment.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["country"],"properties":{"country":{"type":"string","pattern":"^[A-Za-z]{2}$"},"international":{"type":"boolean","default":false},"include_services":{"type":"boolean","default":false}}},"title":"List carriers","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"envia_list_carriers","displayName":"List carriers"},{"name":"envia_quote_shipment","description":"Get shipping rates for a parcel shipment across ALL available carriers and services. Use this whenever the user asks \"how much does it cost\", \"compare carriers\", \"what is the cheapest option to ship from X to Y\", or \"quote a shipment\". Returns every service the company has access to, sorted by price (cheapest first), with delivery estimates and a per-service cost breakdown. Country handling: for MX, US, CA, BR and most countries provide postal codes (city and state are resolved automatically). F","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["weight"],"properties":{"width":{"type":"number","default":10,"exclusiveMinimum":0},"height":{"type":"number","default":10,"exclusiveMinimum":0},"length":{"type":"number","default":10,"exclusiveMinimum":0},"weight":{"type":"number","exclusiveMinimum":0},"content":{"type":"string","default":"General merchandise"},"carriers":{"type":"string","default":"all"},"currency":{"type":"string"},"origin_city":{"type":"string"},"origin_state":{"type":"string"},"declared_value":{"type":"number","default":0},"insurance_type":{"enum":["envia_insurance","insurance","high_value_protection"],"type":"string"},"origin_country":{"type":"string","default":"MX","pattern":"^[A-Za-z]{2}$"},"origin_district":{"type":"string"},"destination_city":{"type":"string"},"destination_state":{"type":"string"},"origin_postal_code":{"type":"string"},"additional_services":{"type":"array","items":{"type":"object","required":["service"],"properties":{"data":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"amount":{"type":"number","minimum":0},"service":{"type":"string"}}}},"destination_country":{"type":"string","default":"MX","pattern":"^[A-Za-z]{2}$"},"destination_district":{"type":"string"},"cash_on_delivery_amount":{"type":"number","exclusiveMinimum":0},"destination_postal_code":{"type":"string"}}},"title":"Quote shipment","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"envia_quote_shipment","displayName":"Quote shipment"},{"name":"envia_create_shipment","description":"Purchase a shipping label. This charges your Envia account balance. Two modes: (1) pass order_identifier to auto-create from an ecommerce order, or (2) provide addresses and package details manually. City and state are resolved automatically from postal codes. Addresses are validated against country-specific required fields before generation. For BR-to-BR shipments, DCe (Declaracao de Conteudo Eletronica) authorization with SEFAZ is performed automatically — items with productCode (NCM) and iden","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{"items":{"type":"array","items":{"type":"object","required":["price"],"properties":{"sku":{"type":"string"},"price":{"type":"number","minimum":0},"weight":{"type":"number","minimum":0},"currency":{"type":"string"},"quantity":{"type":"integer","default":1,"maximum":9007199254740991,"exclusiveMinimum":0},"productCode":{"type":"string"},"countryOfManufacture":{"type":"string"}}}},"carrier":{"type":"string"},"service":{"type":"string"},"currency":{"type":"string"},"xml_data":{"type":"array","items":{"type":"object","required":["documentType"],"properties":{"dceKey":{"type":"string"},"dceDate":{"type":"string"},"dceSerie":{"type":"string"},"dceValue":{"type":"string"},"dceNumber":{"type":"string"},"documentType":{"type":"string"}}}},"print_size":{"type":"string"},"origin_city":{"type":"string"},"origin_name":{"type":"string"},"origin_email":{"type":"string"},"origin_phone":{"type":"string"},"origin_state":{"type":"string"},"print_format":{"type":"string"},"origin_number":{"type":"string"},"origin_street":{"type":"string"},"package_width":{"type":"number","exclusiveMinimum":0},"shipment_type":{"type":"number","default":1},"insurance_type":{"enum":["envia_insurance","insurance","high_value_protection"],"type":"string"},"location_index":{"type":"integer","default":0,"maximum":9007199254740991,"minimum":0},"origin_company":{"type":"string"},"origin_country":{"type":"string","pattern":"^[A-Za-z]{2}$"},"package_height":{"type":"number","exclusiveMinimum":0},"package_length":{"type":"number","exclusiveMinimum":0},"package_weight":{"type":"number","exclusiveMinimum":0},"order_reference":{"type":"string"},"origin_district":{"type":"string"},"package_content":{"type":"string","default":"General merchandise"},"destination_city":{"type":"string"},"destination_name":{"type":"string"},"order_identifier":{"type":"string"},"origin_reference":{"type":"string"},"destination_email":{"type":"string"},"destination_phone":{"type":"string"},"destination_state":{"type":"string"},"destination_number":{"type":"string"},"destination_street":{"type":"string"},"origin_postal_code":{"type":"string"},"additional_services":{"type":"array","items":{"type":"object","required":["service"],"properties":{"data":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"amount":{"type":"number","minimum":0},"service":{"type":"string"}}}},"destination_company":{"type":"string"},"destination_country":{"type":"string","pattern":"^[A-Za-z]{2}$"},"destination_district":{"type":"string"},"destination_reference":{"type":"string"},"origin_interior_number":{"type":"string"},"package_declared_value":{"type":"number","default":0},"cash_on_delivery_amount":{"type":"number","exclusiveMinimum":0},"destination_postal_code":{"type":"string"},"destination_interior_number":{"type":"string"},"origin_identification_number":{"type":"string"},"destination_identification_number":{"type":"string"}}},"title":"Create shipment","logicalName":"envia_create_shipment","displayName":"Create shipment","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"envia_track_package","description":"Track one or more packages by their tracking numbers. Returns the current status and event history for each shipment. Does not require an API key or OAuth login — tracking is a public lookup.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["tracking_numbers"],"properties":{"tracking_numbers":{"type":"string"}}},"title":"Track package","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"envia_track_package","displayName":"Track package"},{"name":"envia_cancel_shipment","description":"Cancel a shipment and void its label. On success, reports the refund amount (when posted), refund date, and any daily-limit or COD chargeback information. Not all carriers support cancellation — best results within the first 24 hours after label generation.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["carrier","tracking_number"],"properties":{"carrier":{"type":"string","pattern":"^[a-zA-Z0-9_-]{1,30}$"},"tracking_number":{"type":"string"}}},"title":"Cancel shipment","logicalName":"envia_cancel_shipment","displayName":"Cancel shipment","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"envia_schedule_pickup","description":"Schedule a carrier pickup at a specific address and date/time window. You must have already created labels with envia_create_shipment — provide the tracking numbers. The carrier will arrive between time_from and time_to on the chosen date.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["origin_name","origin_phone","origin_street","origin_city","origin_state","origin_country","origin_postal_code","carrier","tracking_numbers","date","total_weight","total_packages"],"properties":{"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"carrier":{"type":"string","pattern":"^[a-zA-Z0-9_-]{1,30}$"},"time_to":{"type":"number","default":17,"maximum":23,"minimum":0},"time_from":{"type":"number","default":9,"maximum":23,"minimum":0},"origin_city":{"type":"string"},"origin_name":{"type":"string"},"instructions":{"type":"string"},"origin_phone":{"type":"string"},"origin_state":{"type":"string"},"total_weight":{"type":"number","exclusiveMinimum":0},"origin_street":{"type":"string"},"origin_country":{"type":"string","pattern":"^[A-Za-z]{2}$"},"total_packages":{"type":"integer","maximum":9007199254740991,"exclusiveMinimum":0},"tracking_numbers":{"type":"string"},"origin_postal_code":{"type":"string"}}},"title":"Schedule pickup","logicalName":"envia_schedule_pickup","displayName":"Schedule pickup","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"envia_get_shipment_history","description":"List all shipments created in a given month. Returns tracking numbers, carriers, statuses, and route summaries. Useful for reports and reconciliation.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["month","year"],"properties":{"year":{"type":"integer","maximum":9007199254740991,"minimum":2020},"month":{"type":"integer","maximum":12,"minimum":1}}},"title":"Get shipment history","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"envia_get_shipment_history","displayName":"Get shipment history"},{"name":"envia_classify_hscode","description":"Classify a product into an HS code (known as NCM in Brazil) for customs and regulatory compliance. Describe the product in plain language and optionally specify destination countries. Returns the recommended HS/NCM code and alternatives. Use the code as productCode in items when calling envia_quote_shipment or envia_create_shipment for international shipments and BR-to-BR domestic shipments (required for DCe authorization).","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["description"],"properties":{"hs_code_provided":{"type":"string"},"include_alternatives":{"type":"boolean","default":true},"destination_countries":{"type":"string"}}},"title":"Classify hscode","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"envia_classify_hscode","displayName":"Classify hscode"},{"name":"envia_get_ecommerce_order","description":"Fetch an ecommerce order by its platform identifier and get ready-to-use shipment payloads. Returns order details, origin/destination addresses, package dimensions, and carrier info formatted for use with envia_quote_shipment and envia_create_shipment. Use this when the user provides an order number from their ecommerce platform (Shopify, Tiendanube, WooCommerce, etc.).","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["order_identifier"],"properties":{"payload_type":{"enum":["quote","generate","both"],"type":"string","default":"both"},"order_identifier":{"type":"string","minLength":1}}},"title":"Get ecommerce order","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"envia_get_ecommerce_order","displayName":"Get ecommerce order"},{"name":"envia_list_additional_services","description":"List optional additional services available for a shipment route. Use this before quoting or creating a shipment to discover which services (insurance, cash on delivery, signatures, etc.) can be requested. Results depend on the origin country, whether the shipment is international, and the shipment type. IMPORTANT: this returns the GLOBAL catalog for the route — it does NOT filter by a specific carrier. For \"which add-ons does {carrier} support?\" questions (e.g. FedEx, DHL, UPS specific), use `e","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["origin_country"],"properties":{"shipment_type":{"type":"integer","default":1,"maximum":9007199254740991,"minimum":1},"origin_country":{"type":"string","pattern":"^[A-Za-z]{2}$"},"destination_country":{"type":"string","pattern":"^[A-Za-z]{2}$"}}},"title":"List additional services","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"envia_list_additional_services","displayName":"List additional services"},{"name":"envia_get_additional_service_prices","description":"Get the pricing for all optional add-on services available on a specific carrier service. Returns standard prices and any company-level custom overrides. Use envia_list_carriers to find service IDs, or use the service_id from a quote response. Useful for showing the cost of insurance, COD, or signature services before creating a shipment.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["service_id"],"properties":{"service_id":{"type":"integer","maximum":9007199254740991,"minimum":1}}},"title":"Get additional service prices","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"envia_get_additional_service_prices","displayName":"Get additional service prices"},{"name":"envia_get_carrier_constraints","description":"Get the full capability profile for a specific carrier: pickup window, per-service weight limits, COD configuration, drop-off support, optional add-on services available, and any company-level overrides on your account. Use this for capability discovery (not for quoting) — to answer questions like \"Does FedEx support COD?\", \"What is the max weight for DHL Ground?\", or \"Which additional services can I add to UPS?\". Use envia_list_carriers to find carrier IDs. Note: if the backend returns \"Endpoin","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["carrier_id"],"properties":{"include":{"type":"array","items":{"enum":["additional_services","coverage_summary"],"type":"string"},"default":["additional_services"]},"carrier_id":{"type":"integer","maximum":9007199254740991,"exclusiveMinimum":0},"service_id":{"type":"integer","maximum":9007199254740991,"exclusiveMinimum":0}}},"title":"Get carrier constraints","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"envia_get_carrier_constraints","displayName":"Get carrier constraints"},{"name":"envia_list_shipments","description":"List shipments for your company with filters. Filter by status (1=Created, 2=Transit, 3=Delivered, 4=Cancelled, 5=Incident, 6=Returned, 10=Delivery attempt, 14=Lost, 15=Damaged), carrier name, tracking number, date range, and more. Returns paginated results sorted newest first.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{"page":{"type":"integer","default":1,"maximum":9007199254740991,"minimum":1},"limit":{"type":"integer","default":20,"maximum":100,"minimum":1},"date_to":{"type":"string"},"date_from":{"type":"string"},"status_id":{"type":"integer","maximum":9007199254740991,"minimum":-9007199254740991},"count_only":{"type":"boolean","default":false},"carrier_name":{"type":"string"},"international":{"type":"integer","maximum":2,"minimum":0},"tracking_number":{"type":"string"},"include_archived":{"type":"boolean","default":false},"shipment_type_id":{"type":"integer","maximum":9007199254740991,"minimum":-9007199254740991}}},"title":"List shipments","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"envia_list_shipments","displayName":"List shipments"},{"name":"envia_get_shipment_detail","description":"Get complete details for a single shipment by tracking number. Returns sender/consignee addresses, costs, dates, label URL, and creator info.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["tracking_number"],"properties":{"tracking_number":{"type":"string","minLength":1}}},"title":"Get shipment detail","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"envia_get_shipment_detail","displayName":"Get shipment detail"},{"name":"envia_get_shipments_status","description":"Get shipment status statistics for a date range. Returns counts and percentages for each status: pending, pickup, in transit, out for delivery, delivered, issues, and returned. Useful for dashboards and performance monitoring.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["date_from","date_to"],"properties":{"date_to":{"type":"string"},"date_from":{"type":"string"},"carrier_name":{"type":"string"}}},"title":"Get shipments status","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"envia_get_shipments_status","displayName":"Get shipments status"},{"name":"envia_get_shipments_cod","description":"List Cash on Delivery (COD) shipments. Filter by shipment status, payment status, and date range. Returns COD amounts, payment info, and delivery details.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{"page":{"type":"integer","default":1,"maximum":9007199254740991,"minimum":1},"limit":{"type":"integer","default":20,"maximum":100,"minimum":1},"endDate":{"type":"string"},"startDate":{"type":"string"},"paymentStatus":{"type":"string"},"shipmentStatus":{"type":"string"}}},"title":"Get shipments cod","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"envia_get_shipments_cod","displayName":"Get shipments cod"},{"name":"envia_get_cod_counters","description":"Get aggregated Cash on Delivery (COD) statistics. Returns total COD amounts, delivered count, paid vs pending amounts, and reported shipments. Useful for financial reconciliation.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{"type":{"enum":["counters","tabs"],"type":"string","default":"counters"},"endDate":{"type":"string"},"startDate":{"type":"string"}}},"title":"Get cod counters","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"envia_get_cod_counters","displayName":"Get cod counters"},{"name":"envia_get_shipments_surcharges","description":"List shipments with surcharges (overweight/oversize). Shows declared vs revised weight, extra cost, and dispute ticket status. Filter by tracking number, dates, or ticket status.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{"page":{"type":"integer","default":1,"maximum":9007199254740991,"minimum":1},"limit":{"type":"integer","default":20,"maximum":100,"minimum":1},"date_to":{"type":"string"},"date_from":{"type":"string"},"tracking_number":{"type":"string"},"ticket_status_id":{"type":"integer","maximum":9007199254740991,"minimum":-9007199254740991}}},"title":"Get shipments surcharges","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"envia_get_shipments_surcharges","displayName":"Get shipments surcharges"},{"name":"envia_get_shipments_ndr","description":"List Non-Delivery Report (NDR) shipments — failed deliveries requiring action. Filter by type: \"attention\" (needs action), \"requested\" (action already requested), \"rto\" (returned to origin). Also filter by status_id and date range. KNOWN BACKEND BUG: the \"type\" filter parameter returns 422 (MySQL 8 HAVING clause issue). Omit \"type\" to list all NDR shipments and filter the result client-side.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{"page":{"type":"integer","default":1,"maximum":9007199254740991,"minimum":1},"type":{"enum":["attention","requested","rto"],"type":"string"},"limit":{"type":"integer","default":20,"maximum":100,"minimum":1},"date_to":{"type":"string"},"date_from":{"type":"string"},"status_id":{"type":"integer","maximum":9007199254740991,"minimum":-9007199254740991}}},"title":"Get shipments ndr","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"envia_get_shipments_ndr","displayName":"Get shipments ndr"},{"name":"envia_get_shipment_invoices","description":"List shipping invoices for your company. Filter by month, year, and invoice status (invoiced or not). Returns invoice totals, PDF download URLs, shipment counts, and billing details.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{"page":{"type":"integer","default":1,"maximum":9007199254740991,"minimum":1},"year":{"type":"integer","maximum":9007199254740991,"minimum":2020},"limit":{"type":"integer","default":20,"maximum":100,"minimum":1},"month":{"type":"integer","maximum":12,"minimum":1},"invoiced":{"type":"integer","maximum":1,"minimum":0}}},"title":"Get shipment invoices","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"envia_get_shipment_invoices","displayName":"Get shipment invoices"},{"name":"envia_list_addresses","description":"List saved addresses (the company address book). Use whenever the user asks \"show my saved addresses\", \"list my origin/destination addresses\", \"what is my default origin?\" (the default flag is surfaced with a ★ marker), or \"find my address in <city>\". Filter by type_id (1=origin, 2=destination), free-text search across name/street/city, sort, and paginate. When NOT to use: (a) creating, editing, or deleting an address → use envia_create_address / envia_update_address / envia_delete_address; (b)","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["type"],"properties":{"page":{"type":"integer","default":1,"maximum":9007199254740991,"minimum":1},"type":{"enum":["origin","destination"],"type":"string"},"limit":{"type":"integer","default":20,"maximum":300,"minimum":1},"search":{"type":"string"},"country":{"type":"string","maxLength":2},"sort_by":{"enum":["name","street","city","full_address"],"type":"string"},"sort_direction":{"enum":["asc","desc"],"type":"string","default":"asc"}}},"title":"List addresses","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"envia_list_addresses","displayName":"List addresses"},{"name":"envia_create_address","description":"Create a new saved address. Requires name, phone, street, city, state, country, postal_code, and type. For Brazil: include identification_number (CPF/CNPJ). For Colombia: include identification_number (NIT). State must be max 4 characters (state code, e.g. \"CX\" for CDMX).","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["type","name","phone","street","city","state","country","postal_code"],"properties":{"city":{"type":"string","maxLength":255,"minLength":1},"name":{"type":"string","maxLength":255,"minLength":1},"type":{"type":"integer","maximum":2,"minimum":1},"alias":{"type":"string","maxLength":20},"email":{"type":"string","format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"phone":{"type":"string","maxLength":50,"minLength":1},"state":{"type":"string","maxLength":4,"minLength":1},"number":{"type":"string","maxLength":50},"street":{"type":"string","maxLength":255,"minLength":1},"company":{"type":"string","maxLength":255},"country":{"type":"string","pattern":"^[A-Za-z]{2}$"},"district":{"type":"string","maxLength":255},"reference":{"type":"string"},"phone_code":{"type":"string","maxLength":10},"category_id":{"type":"integer","maximum":9007199254740991,"minimum":-9007199254740991},"postal_code":{"type":"string","maxLength":20,"minLength":1},"interior_number":{"type":"string","maxLength":100},"identification_number":{"type":"string","maxLength":100}}},"title":"Create address","logicalName":"envia_create_address","displayName":"Create address","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"envia_update_address","description":"Update an existing saved address. Provide address_id and any fields to change. Only provided fields are updated — omitted fields remain unchanged.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["address_id"],"properties":{"city":{"type":"string","maxLength":255},"name":{"type":"string","maxLength":255},"alias":{"type":"string","maxLength":20},"email":{"type":"string","format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"phone":{"type":"string","maxLength":50},"state":{"type":"string","maxLength":4},"number":{"type":"string","maxLength":50},"street":{"type":"string","maxLength":255},"company":{"type":"string","maxLength":255},"country":{"type":"string","maxLength":2,"minLength":2},"district":{"type":"string","maxLength":255},"reference":{"type":"string"},"address_id":{"type":"integer","maximum":9007199254740991,"minimum":-9007199254740991},"phone_code":{"type":"string","maxLength":10},"postal_code":{"type":"string","maxLength":20},"interior_number":{"type":"string","maxLength":100},"identification_number":{"type":"string","maxLength":100}}},"title":"Update address","logicalName":"envia_update_address","displayName":"Update address","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"envia_delete_address","description":"Delete a saved address by ID. This also removes the address from defaults, favorites, and carrier branch relations. Cannot delete addresses that are set as a shop favorite.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["address_id"],"properties":{"address_id":{"type":"integer","maximum":9007199254740991,"minimum":-9007199254740991}}},"title":"Delete address","logicalName":"envia_delete_address","displayName":"Delete address","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"envia_list_packages","description":"List saved package presets for your company. Packages are reusable templates with dimensions, weight, and content. Use these when creating shipments to avoid re-entering package details.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{"page":{"type":"integer","default":1,"maximum":9007199254740991,"minimum":1},"limit":{"type":"integer","default":20,"maximum":300,"minimum":1},"search":{"type":"string"}}},"title":"List packages","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"envia_list_packages","displayName":"List packages"},{"name":"envia_create_package","description":"Create a new saved package preset with dimensions, weight, and content description. Package types: 1=Box, 2=Envelope, 3=Pallet, 4=Tube. Saved packages can be reused when creating shipments.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["name","content","package_type","weight","weight_unit","length_unit","height","length","width"],"properties":{"name":{"type":"string","maxLength":255,"minLength":1},"width":{"type":"number","exclusiveMinimum":0},"height":{"type":"number","exclusiveMinimum":0},"length":{"type":"number","exclusiveMinimum":0},"weight":{"type":"number","exclusiveMinimum":0},"content":{"type":"string","maxLength":255,"minLength":1},"insurance":{"type":"number","minimum":0},"length_unit":{"enum":["CM","IN"],"type":"string"},"weight_unit":{"enum":["KG","LB"],"type":"string"},"package_type":{"type":"integer","maximum":4,"minimum":1},"declared_value":{"type":"number","minimum":0}}},"title":"Create package","logicalName":"envia_create_package","displayName":"Create package","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"envia_delete_package","description":"Delete a saved package preset by ID (soft delete).","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["package_id"],"properties":{"package_id":{"type":"integer","maximum":9007199254740991,"minimum":-9007199254740991}}},"title":"Delete package","logicalName":"envia_delete_package","displayName":"Delete package","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"envia_list_clients","description":"List the company client book. Use whenever the user asks \"show my clients\", \"list customers\", \"find my client named X\", \"filter clients by business/distributor\", or needs the client_id required to create a shipment for a saved client. Filter by client_type (independent / business / distributor), search by name / email / phone / external_ref, sort, and paginate. Returns contact and address summaries per client. When NOT to use: (a) creating, editing, or deleting a client → use envia_create_client","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{"page":{"type":"integer","default":1,"maximum":9007199254740991,"minimum":1},"limit":{"type":"integer","default":20,"maximum":300,"minimum":1},"search":{"type":"string"},"sort_by":{"enum":["name","external_ref","created_at","client_type","contact_email"],"type":"string"},"client_type":{"enum":["independent","business","distributor"],"type":"string"},"sort_direction":{"enum":["ASC","DESC"],"type":"string"}}},"title":"List clients","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"envia_list_clients","displayName":"List clients"},{"name":"envia_create_client","description":"Create a new client. Requires name and contact.full_name. Client types: independent (persona fisica), business (empresa), distributor. Optionally include billing_address, shipping_address, and use_billing_as_shipping.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["name","contact"],"properties":{"rfc":{"type":"string","maxLength":20},"name":{"type":"string","maxLength":255,"minLength":1},"notes":{"type":"string"},"contact":{"type":"object","required":["full_name"],"properties":{"role":{"type":"string","maxLength":255},"email":{"type":"string","format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"phone":{"type":"string","maxLength":50},"landline":{"type":"string","maxLength":50},"full_name":{"type":"string","maxLength":255,"minLength":1},"phone_code":{"type":"string","maxLength":10},"landline_code":{"type":"string","maxLength":10}}},"client_type":{"enum":["independent","business","distributor"],"type":"string","default":"independent"},"company_name":{"type":"string","maxLength":255},"external_ref":{"type":"string","maxLength":100},"billing_address":{"type":"object","properties":{"city":{"type":"string","maxLength":255},"name":{"type":"string","maxLength":255},"email":{"type":"string","format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"phone":{"type":"string","maxLength":50},"state":{"type":"string","maxLength":100},"number":{"type":"string","maxLength":50},"street":{"type":"string","maxLength":255},"company":{"type":"string","maxLength":255},"country":{"type":"string","maxLength":2},"district":{"type":"string","maxLength":255},"reference":{"type":"string"},"phone_code":{"type":"string","maxLength":10},"postal_code":{"type":"string","maxLength":20},"interior_number":{"type":"string","maxLength":100},"identification_number":{"type":"string","maxLength":100}}},"shipping_address":{"type":"object","properties":{"city":{"type":"string","maxLength":255},"name":{"type":"string","maxLength":255},"email":{"type":"string","format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"phone":{"type":"string","maxLength":50},"state":{"type":"string","maxLength":100},"number":{"type":"string","maxLength":50},"street":{"type":"string","maxLength":255},"company":{"type":"string","maxLength":255},"country":{"type":"string","maxLength":2},"district":{"type":"string","maxLength":255},"reference":{"type":"string"},"phone_code":{"type":"string","maxLength":10},"postal_code":{"type":"string","maxLength":20},"interior_number":{"type":"string","maxLength":100},"identification_number":{"type":"string","maxLength":100}}},"use_billing_as_shipping":{"type":"boolean","default":false}}},"title":"Create client","logicalName":"envia_create_client","displayName":"Create client","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"envia_update_client","description":"Update an existing client. Name is always required (API constraint). To update the existing contact, include contact.id. To update addresses, include billing_address.config_address_id. Setting use_billing_as_shipping=true deletes the shipping address.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["client_id","name"],"properties":{"rfc":{"type":"string","maxLength":20},"name":{"type":"string","maxLength":255,"minLength":1},"notes":{"type":"string"},"contact":{"type":"object","required":["full_name"],"properties":{"id":{"type":"integer","maximum":9007199254740991,"minimum":-9007199254740991},"role":{"type":"string","maxLength":255},"email":{"type":"string","format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"phone":{"type":"string","maxLength":50},"full_name":{"type":"string","maxLength":255,"minLength":1},"phone_code":{"type":"string","maxLength":10}}},"client_id":{"type":"integer","maximum":9007199254740991,"minimum":-9007199254740991},"client_type":{"enum":["independent","business","distributor"],"type":"string"},"company_name":{"type":"string","maxLength":255},"external_ref":{"type":"string","maxLength":100},"billing_address":{"type":"object","properties":{"city":{"type":"string","maxLength":255},"name":{"type":"string","maxLength":255},"email":{"type":"string","format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"phone":{"type":"string","maxLength":50},"state":{"type":"string","maxLength":100},"number":{"type":"string","maxLength":50},"street":{"type":"string","maxLength":255},"company":{"type":"string","maxLength":255},"country":{"type":"string","maxLength":2},"district":{"type":"string","maxLength":255},"phone_code":{"type":"string","maxLength":10},"postal_code":{"type":"string","maxLength":20},"client_address_id":{"type":"integer","maximum":9007199254740991,"minimum":-9007199254740991},"config_address_id":{"type":"integer","maximum":9007199254740991,"minimum":-9007199254740991}}},"use_billing_as_shipping":{"type":"boolean"}}},"title":"Update client","logicalName":"envia_update_client","displayName":"Update client","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"envia_delete_client","description":"Delete a client by ID (soft delete). The client record is marked as deleted but contacts and addresses are preserved.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["client_id"],"properties":{"client_id":{"type":"integer","maximum":9007199254740991,"minimum":-9007199254740991}}},"title":"Delete client","logicalName":"envia_delete_client","displayName":"Delete client","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"envia_list_orders","description":"List ecommerce orders with advanced filters and pagination. Each order shows general status (Label Pending, Shipped, etc.), payment status (Paid, Pending, COD), and fulfillment/preparation status. Use filters like status_id, shop_id, date_from/date_to, destination, or search to narrow results. For shipping a specific order, use envia_get_ecommerce_order instead.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{"page":{"type":"integer","default":1,"maximum":9007199254740991,"minimum":1},"limit":{"type":"integer","default":20,"maximum":200,"minimum":1},"search":{"type":"string"},"date_to":{"type":"string"},"shop_id":{"type":"integer","maximum":9007199254740991,"minimum":-9007199254740991},"date_from":{"type":"string"},"status_id":{"type":"integer","maximum":9007199254740991,"minimum":1},"order_name":{"type":"string"},"destination":{"enum":["domestic","international"],"type":"string"},"status_payment":{"enum":["paid","pending","cod"],"type":"string"},"order_identifier":{"type":"string"},"fulfillment_status_id":{"type":"integer","maximum":5,"minimum":1},"destination_country_code":{"type":"string","maxLength":2}}},"title":"List orders","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"envia_list_orders","displayName":"List orders"},{"name":"envia_get_orders_count","description":"Get order counters across 7 status categories: Payment Pending, Label Pending, Pickup Pending, Shipped, Canceled, Other, and Completed. Use this to get a dashboard overview before diving into specific order lists. The \"other\" category includes orders en route, with incidents, or returned.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{}},"title":"Get orders count","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"envia_get_orders_count","displayName":"Get orders count"},{"name":"envia_list_shops","description":"List connected ecommerce stores (shops) for the company. Returns store IDs needed for order management tools like envia_update_order_address. By default shows only active stores; set include_inactive=true to see all. Supported platforms: Shopify, WooCommerce, MercadoLibre, Tiendanube, and more.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{"include_inactive":{"type":"boolean","default":false}}},"title":"List shops","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"envia_list_shops","displayName":"List shops"},{"name":"envia_update_order_address","description":"Update the shipping or billing address on an ecommerce order. Requires shop_id and order_id (get them from envia_list_orders). address_type_id: 1=Billing, 2=Shipping (most common), 3=Origin. Fields address2, address3, phone_code, identification_number, and references are required by the backend but accept an empty string.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["shop_id","order_id","address_type_id","first_name","address1","country_code","state_code","city","phone"],"properties":{"city":{"type":"string","minLength":1},"phone":{"type":"string","minLength":1},"company":{"type":"string"},"shop_id":{"type":"integer","maximum":9007199254740991,"minimum":1},"address1":{"type":"string","minLength":1},"address2":{"type":"string","default":""},"address3":{"type":"string","default":""},"order_id":{"type":"integer","maximum":9007199254740991,"minimum":1},"last_name":{"type":"string","default":""},"first_name":{"type":"string","minLength":1},"package_id":{"type":"integer","maximum":9007199254740991,"minimum":1},"phone_code":{"type":"string","default":""},"references":{"type":"string","default":""},"state_code":{"type":"string","maxLength":4},"postal_code":{"type":"string","default":""},"country_code":{"type":"string","maxLength":2},"address_type_id":{"type":"integer","maximum":3,"minimum":1},"interior_number":{"type":"string"},"identification_number":{"type":"string","default":""}}},"title":"Update order address","logicalName":"envia_update_order_address","displayName":"Update order address","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"envia_update_order_packages","description":"Update package dimensions, weight, content, and insurance on an ecommerce order. Requires shop_id, order_id, and the package_id(s) to update. insurance and declared_value are required (pass 0 when there is no insurance). dimensions and length_unit are required for box and envelope types (package_type_id 1 or 2).","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["shop_id","order_id","packages"],"properties":{"shop_id":{"type":"integer","maximum":9007199254740991,"minimum":1},"order_id":{"type":"integer","maximum":9007199254740991,"minimum":1},"packages":{"type":"array","items":{"type":"object","required":["package_id","content","amount","package_type_id","weight","weight_unit","length_unit","dimensions"],"properties":{"amount":{"type":"integer","maximum":10,"minimum":1},"weight":{"type":"number","maximum":9999.99,"minimum":0.01},"content":{"type":"string","minLength":1},"box_code":{"anyOf":[{"type":"string"},{"type":"null"}]},"insurance":{"type":"number","default":0,"minimum":0},"dimensions":{"type":"object","required":["length","width","height"],"properties":{"width":{"type":"number","minimum":0.01},"height":{"type":"number","minimum":0.01},"length":{"type":"number","minimum":0.01}}},"package_id":{"type":"integer","maximum":9007199254740991,"minimum":1},"length_unit":{"enum":["CM","cm","IN","in"],"type":"string"},"weight_unit":{"enum":["KG","kg","G","g","LB","lb","OZ","oz"],"type":"string"},"declared_value":{"type":"number","default":0,"minimum":0},"package_type_id":{"type":"integer","maximum":9007199254740991,"minimum":1},"additional_services":{"type":"array","items":{},"default":[]}}},"minItems":1}}},"title":"Update order packages","logicalName":"envia_update_order_packages","displayName":"Update order packages","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"envia_select_order_service","description":"Select a carrier service for a package in an ecommerce order. This saves the quoted service/price so the order can proceed to fulfillment. Requires shop_id, order_id, package_id, service_id, and price. To get available services and prices, use envia_get_ecommerce_order + envia_get_shipping_rates. Pass service_id=null and price=null to deselect a previously assigned service.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["shop_id","order_id","package_id","service_id","price"],"properties":{"price":{"anyOf":[{"type":"number"},{"type":"null"}]},"shop_id":{"type":"integer","maximum":9007199254740991,"minimum":1},"order_id":{"type":"integer","maximum":9007199254740991,"minimum":1},"package_id":{"type":"integer","maximum":9007199254740991,"minimum":1},"service_id":{"anyOf":[{"type":"integer","maximum":9007199254740991,"minimum":1},{"type":"null"}]}}},"title":"Select order service","logicalName":"envia_select_order_service","displayName":"Select order service","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"envia_fulfill_order","description":"Create fulfillment for an ecommerce order package by linking a shipment. Requires either shipment_id (from envia_create_label) or tracking_number. ⚠️ When all packages in the order receive fulfillment, the order is automatically marked as COMPLETED. This cannot be undone. fulfillment_method: normal=standard carrier, manual=manual tracking, automatic=auto-detect.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["shop_id","order_id","package_id"],"properties":{"shop_id":{"type":"integer","maximum":9007199254740991,"minimum":1},"order_id":{"type":"integer","maximum":9007199254740991,"minimum":1},"package_id":{"type":"integer","maximum":9007199254740991,"minimum":1},"shipment_id":{"type":"integer","maximum":9007199254740991,"minimum":-9007199254740991},"fulfillment_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"shipment_method":{"enum":["normal","manual","automatic"],"type":"string"},"tracking_number":{"type":"string"},"fulfillment_method":{"enum":["normal","manual","automatic"],"type":"string"},"fulfillment_status_id":{"type":"integer","default":4,"maximum":9007199254740991,"minimum":1}}},"title":"Fulfill order","logicalName":"envia_fulfill_order","displayName":"Fulfill order","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"envia_get_order_filter_options","description":"Get available filter options for order lists. Returns destination countries present in the company's orders, which can be passed to envia_list_orders as destination_country_code.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{}},"title":"Get order filter options","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"envia_get_order_filter_options","displayName":"Get order filter options"},{"name":"envia_manage_order_tags","description":"Add or remove tags on ecommerce orders for labeling and grouping. action=\"add\": provide order_ids and tags (strings) to assign new labels. action=\"remove\": provide order_ids and tag_ids (numbers) to remove existing tags. Tags appear in envia_list_orders results and can be used for filtering.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["action","order_ids"],"properties":{"tags":{"type":"array","items":{"type":"string","minLength":1}},"action":{"enum":["add","remove"],"type":"string"},"tag_ids":{"type":"array","items":{"type":"integer","maximum":9007199254740991,"minimum":1}},"order_ids":{"type":"array","items":{"type":"integer","maximum":9007199254740991,"minimum":1},"minItems":1}}},"title":"Manage order tags","logicalName":"envia_manage_order_tags","displayName":"Manage order tags","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"envia_generate_packing_slip","description":"Generate a packing slip PDF for one or more ecommerce orders. The packing slip includes order details, package information, and tracking numbers. Note: the PDF cannot be delivered directly through MCP (text-only protocol). This tool confirms whether generation succeeded. Download the result from the Envia dashboard.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["order_ids"],"properties":{"order_ids":{"type":"array","items":{"type":"integer","maximum":9007199254740991,"minimum":1},"minItems":1}}},"title":"Generate packing slip","logicalName":"envia_generate_packing_slip","displayName":"Generate packing slip","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"envia_generate_picking_list","description":"Generate a picking list PDF for one or more ecommerce orders. The picking list is used by warehouse staff to locate and pick items, with columns for Qty, Description, SKU, Total Weight, and a Picked checkbox. Note: the PDF cannot be delivered directly through MCP (text-only protocol). This tool confirms whether generation succeeded. Download from the Envia dashboard.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["order_ids"],"properties":{"order_ids":{"type":"array","items":{"type":"integer","maximum":9007199254740991,"minimum":1},"minItems":1}}},"title":"Generate picking list","logicalName":"envia_generate_picking_list","displayName":"Generate picking list","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"envia_get_orders_analytics","description":"Get analytics about order shipment statuses with counts and percentages. Includes: unfulfilled orders, ready to fulfill, ready to ship, pickup/in-transit, out for delivery, delivered, with incidents, and returned. Optionally filter by date range or store to analyze a specific period or shop.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{"date_to":{"type":"string"},"shop_id":{"type":"integer","maximum":9007199254740991,"minimum":-9007199254740991},"date_from":{"type":"string"}}},"title":"Get orders analytics","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"envia_get_orders_analytics","displayName":"Get orders analytics"},{"name":"envia_list_tickets","description":"List support tickets for your company. Filter by status (1=Pending, 2=Accepted, 3=Declined, 5=Follow-up, 6=In Review), ticket type, carrier, tracking number, or date range. Returns ticket ID, type, status, carrier, and creation date. KNOWN ISSUE: /company/tickets has returned HTTP 422 in both sandbox and production (last seen 2026-04-29). The backend wraps internal errors as Boom.badData, so a 422 here is not necessarily an input-validation failure. If you hit 422, try envia_get_ticket_detail wi","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{"page":{"type":"integer","default":1,"maximum":9007199254740991,"minimum":1},"limit":{"type":"integer","default":20,"maximum":100,"minimum":1},"date_to":{"type":"string"},"date_from":{"type":"string"},"carrier_id":{"type":"integer","maximum":9007199254740991,"minimum":1},"getComments":{"type":"boolean"},"ticket_type_id":{"type":"integer","maximum":9007199254740991,"minimum":1},"tracking_number":{"type":"string"},"ticket_status_id":{"type":"integer","maximum":9007199254740991,"minimum":1}}},"title":"List tickets","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"envia_list_tickets","displayName":"List tickets"},{"name":"envia_get_ticket_detail","description":"Get complete details for a support ticket by ID. Includes: ticket type and status, linked shipment and carrier info, consignee address, file attachments, comment thread (if requested), CSAT rating, and additional services.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["ticket_id"],"properties":{"ticket_id":{"type":"integer","maximum":9007199254740991,"minimum":1},"getComments":{"type":"boolean","default":true}}},"title":"Get ticket detail","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"envia_get_ticket_detail","displayName":"Get ticket detail"},{"name":"envia_get_ticket_comments","description":"Get the comment thread for a support ticket. Each comment shows who wrote it (client or admin), the text, and when it was created.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["ticket_id"],"properties":{"ticket_id":{"type":"integer","maximum":9007199254740991,"minimum":1}}},"title":"Get ticket comments","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"envia_get_ticket_comments","displayName":"Get ticket comments"},{"name":"envia_create_ticket","description":"Create a new support ticket. Requires type_id (use envia_get_ticket_types to see options). IMPORTANT: when the ticket relates to a specific shipment (the user mentions a tracking number or \"guía\"), ALWAYS pass `tracking_number` so the ticket is properly linked. The tool resolves tracking_number to the internal shipment_id automatically. Tickets created without a tracking number become orphan and cannot be found by tracking-number search later. Common types: 3=Overweight, 5=Damaged, 6=Wrong deliv","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["type_id"],"properties":{"data":{"type":"string"},"type_id":{"type":"integer","maximum":9007199254740991,"minimum":1},"comments":{"type":"string"},"credit_id":{"type":"integer","maximum":9007199254740991,"minimum":1},"carrier_id":{"type":"integer","maximum":9007199254740991,"minimum":1},"shipment_id":{"type":"integer","maximum":9007199254740991,"minimum":1},"tracking_number":{"type":"string","minLength":1},"warehouse_package_id":{"type":"string"}}},"title":"Create ticket","logicalName":"envia_create_ticket","displayName":"Create ticket","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"envia_add_ticket_comment","description":"Add a comment to an existing ticket. Only works on tickets with status Pending(1), Incomplete(4), Follow-up(5), or In Review(6). Cannot comment on Accepted or Declined tickets.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["ticket_id","comment"],"properties":{"comment":{"type":"string"},"ticket_id":{"type":"integer","maximum":9007199254740991,"minimum":1}}},"title":"Add ticket comment","logicalName":"envia_add_ticket_comment","displayName":"Add ticket comment","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"envia_rate_ticket","description":"Rate a support ticket (CSAT). Score 1-5 with optional comment. Rating is ONE-TIME — cannot be changed after submission.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["ticket_id","rating"],"properties":{"rating":{"type":"integer","maximum":5,"minimum":1},"comment":{"type":"string"},"ticket_id":{"type":"integer","maximum":9007199254740991,"minimum":1}}},"title":"Rate ticket","logicalName":"envia_rate_ticket","displayName":"Rate ticket","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"envia_get_ticket_types","description":"List available ticket types with their conditions and requirements. Each type has rules defining which shipment statuses are eligible, required files, and input fields.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{"id":{"type":"integer","maximum":9007199254740991,"minimum":1}}},"title":"Get ticket types","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"envia_get_ticket_types","displayName":"Get ticket types"},{"name":"envia_get_branches_catalog","description":"Get the full hierarchical catalog of states and localities where a carrier has branches. Returns a map of state → [localities] so you can discover coverage before searching. Use this before envia_search_branches to find the exact locality/state names.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["carrier","country_code"],"properties":{"carrier":{"type":"string","minLength":1},"country_code":{"type":"string","maxLength":2,"minLength":2}}},"title":"Get branches catalog","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"envia_get_branches_catalog","displayName":"Get branches catalog"},{"name":"envia_find_drop_off","description":"Find carrier branch locations (drop-off points, lockers, warehouses, third-party pickup sites) for a specific carrier. Use whenever the user asks \"where can I drop off a package\", \"find a FedEx near zip 11560\", \"list DHL pickup points in Bogota\", \"is there a drop-off that accepts 50cm boxes nearby\", or needs the branch_code required by some carriers when creating a shipment. Filter by carrier + country (mandatory) and any of: postal code, city, state, GPS, capacity type (receiving / delivering /","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["carrier"],"properties":{"city":{"type":"string"},"state":{"type":"string"},"locale":{"type":"integer","maximum":9007199254740991,"minimum":1},"street":{"type":"string"},"carrier":{"type":"string","minLength":1},"capacity":{"enum":["1","2","3"],"type":"string"},"zip_code":{"type":"string"},"country_code":{"type":"string","maxLength":2,"minLength":2},"service_name":{"type":"string"},"shipment_type":{"type":"integer","maximum":3,"minimum":1},"street_number":{"type":"string"}}},"title":"Find drop off","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"envia_find_drop_off","displayName":"Find drop off"},{"name":"envia_get_notification_settings","description":"Get the company notification channel settings. Shows which channels are enabled: email (general + label), SMS, WhatsApp, and event notifications (COD payment, POD confirmation, fulfillment).","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{}},"title":"Get notification settings","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"envia_get_notification_settings","displayName":"Get notification settings"},{"name":"envia_get_monthly_analytics","description":"Monthly shipment volume + revenue dashboard, broken down by carrier. Use whenever the user asks \"how many shipments did I send last month\", \"compare carrier volumes / revenue\", \"what is my carrier mix\", \"which carrier do I use most\", or wants a month-over-month trend across the company. Returns total shipments, total revenue, per-carrier contribution, and the time series for the selected date range. When NOT to use: (a) issues / problem rates by carrier → use envia_get_issues_analytics; (b) ship","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["start_date","end_date"],"properties":{"end_date":{"type":"string"},"start_date":{"type":"string"}}},"title":"Get monthly analytics","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"envia_get_monthly_analytics","displayName":"Get monthly analytics"},{"name":"envia_get_issues_analytics","description":"Analyze shipment issues: issue types ranked by frequency (damaged, lost, delay, etc.), per-carrier monthly issue breakdown, and monthly issue rate trend. Useful for identifying quality problems with specific carriers.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["start_date","end_date"],"properties":{"end_date":{"type":"string"},"start_date":{"type":"string"}}},"title":"Get issues analytics","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"envia_get_issues_analytics","displayName":"Get issues analytics"},{"name":"envia_get_shipments_by_status","description":"Get a count of shipments grouped by status (Created, Shipped, Delivered, Canceled, Lost, Damaged, etc.) for a date range. Only statuses with at least one shipment are shown, sorted by volume.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["start_date","end_date"],"properties":{"end_date":{"type":"string"},"start_date":{"type":"string"}}},"title":"Get shipments by status","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"envia_get_shipments_by_status","displayName":"Get shipments by status"},{"name":"envia_list_notifications","description":"List the company notification inbox grouped by category (payments, returns, shipment events, system alerts, etc.). Returns unread counters per category and overall, plus the most recent N entries per category with parsed details (tracking number, carrier, amount, etc.) extracted from each event payload. Use whenever the user asks \"what notifications do I have\", \"any new alerts\", \"what happened with my shipments today\", or \"show me my COD payments\". Use the limit parameter to control how many not","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{"limit":{"type":"integer","maximum":100,"minimum":1}}},"title":"List notifications","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"envia_list_notifications","displayName":"List notifications"},{"name":"envia_list_products","description":"List products from the company catalogue. Supports pagination with limit and page. Pass product_identifier to look up a specific product (the /products/envia/{id} endpoint is unavailable — use this workaround instead).","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{"page":{"type":"integer","maximum":9007199254740991,"minimum":1},"limit":{"type":"integer","maximum":100,"minimum":1},"product_identifier":{"type":"string"}}},"title":"List products","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"envia_list_products","displayName":"List products"},{"name":"envia_get_billing_info","description":"Get the company billing information: legal name, RFC/tax ID, billing address, email, and phone. Used for invoice generation.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{}},"title":"Get billing info","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"envia_get_billing_info","displayName":"Get billing info"},{"name":"envia_get_company_info","description":"Get the caller company profile: name, country, currency, tier, international status, verification state (KYB), creation date, owner, and connected integrations (Shopify, WooCommerce, etc.). Equivalent to the \"Mi Compañia\" page in the portal.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{}},"title":"Get company info","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"envia_get_company_info","displayName":"Get company info"},{"name":"envia_get_my_salesman","description":"Get the contact details (name, email, phone) of the Envia salesman / account manager assigned to the caller's company. Returns a clear \"unassigned\" message when no salesman is linked, so the agent can suggest opening a ticket instead.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{}},"title":"Get my salesman","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"envia_get_my_salesman","displayName":"Get my salesman"},{"name":"envia_get_balance_info","description":"Get the caller company account balance, currency, credit line (if configured), and auto-billing/auto-payment settings. Use this when the user asks about their current balance, credit limit, or payment configuration.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{}},"title":"Get balance info","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"envia_get_balance_info","displayName":"Get balance info"},{"name":"envia_check_balance","description":"Check whether the account has enough balance to cover a shipment cost. Use when the user asks \"¿tengo saldo suficiente para enviar?\" or \"do I have enough balance for a shipment that costs X?\". Reads balance from the account — no charges are created.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["amount"],"properties":{"amount":{"type":"number","exclusiveMinimum":0}}},"title":"Check balance","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"envia_check_balance","displayName":"Check balance"},{"name":"envia_ai_parse_address","description":"Parse a free-form address string into structured fields (name, street, number, city, state, postal code, country, etc.) using Envia's AI extraction service. Use when the user pastes a raw address or provides it in natural language.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["text"],"properties":{"text":{"type":"string","minLength":1},"country":{"type":"string","maxLength":2,"minLength":2}}},"title":"Ai parse address","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"envia_ai_parse_address","displayName":"Ai parse address"},{"name":"envia_ai_address_requirements","description":"Get the required and optional address fields for shipping to or from a country. Returns which fields (street, number, neighborhood, postal code, etc.) are mandatory for the selected country, helping pre-validate addresses before creating a shipment. Results are authoritative — sourced from the same rules the carriers API enforces. SANDBOX LIMITATION: chains through the carriers MCP; may return an error in sandbox.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["country"],"properties":{"country":{"type":"string","pattern":"^[A-Za-z]{2}$"}}},"title":"Ai address requirements","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"envia_ai_address_requirements","displayName":"Ai address requirements"},{"name":"envia_create_international_shipment","description":"Cross-border shipment pre-flight wizard. Use this BEFORE envia_create_shipment whenever the destination country differs from the origin country (MX→US, MX→ES, CO→US, BR→DE, etc.) or when the user says \"international\", \"cross-border\", \"customs\", \"envío internacional\", \"exportación\". The tool: (1) fetches the destination country's authoritative address requirements, (2) auto-classifies HS / NCM codes for any item that ships without a productCode, (3) returns a single ready-to-call payload plus a l","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["destination_country","items"],"properties":{"items":{"type":"array","items":{"type":"object","required":["description","quantity","price"],"properties":{"price":{"type":"number","exclusiveMinimum":0},"currency":{"type":"string","maxLength":3,"minLength":3},"quantity":{"type":"integer","maximum":9007199254740991,"exclusiveMinimum":0},"productCode":{"type":"string"},"countryOfOrigin":{"type":"string","maxLength":2,"minLength":2}}},"minItems":1},"origin_country":{"type":"string","default":"MX","pattern":"^[A-Za-z]{2}$"},"destination_country":{"type":"string","pattern":"^[A-Za-z]{2}$"}}},"title":"Create international shipment","logicalName":"envia_create_international_shipment","displayName":"Create international shipment","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"envia_generate_manifest","description":"Generate a manifest PDF for shipments ready to hand off to a carrier. Shipments must be in \"Created\" status (not yet picked up). The carrier is inferred from the tracking number automatically. Returns PDF URLs grouped by carrier.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["tracking_numbers"],"properties":{"tracking_numbers":{"type":"array","items":{"type":"string","minLength":1},"minItems":1}}},"title":"Generate manifest","logicalName":"envia_generate_manifest","displayName":"Generate manifest","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"envia_cancel_pickup","description":"Cancel a previously scheduled carrier pickup by confirmation number. Use this when a pickup was scheduled but is no longer needed. Requires the carrier code and the confirmation number from the original pickup schedule.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["carrier","confirmation"],"properties":{"locale":{"type":"integer","default":1,"maximum":9007199254740991,"minimum":-9007199254740991},"carrier":{"type":"string"},"confirmation":{"type":"string"}}},"title":"Cancel pickup","logicalName":"envia_cancel_pickup","displayName":"Cancel pickup","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"envia_submit_nd_report","description":"Submit a non-delivery report (NDR) action for a shipment with a delivery exception. Action codes: 'RD' (reschedule delivery), 'DM' (damaged), 'RE' (return to sender), 'AC' (address correction), 'CP' (customer pickup at branch). Shipment must be in an NDR/exception status for this to succeed.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["carrier","tracking_number","action_code"],"properties":{"carrier":{"type":"string"},"action_code":{"type":"string"},"tracking_number":{"type":"string"}}},"title":"Submit nd report","logicalName":"envia_submit_nd_report","displayName":"Submit nd report","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"envia_track_pickup","description":"Track the status of one or more scheduled carrier pickups by confirmation number. Use the confirmation numbers returned when the pickup was originally scheduled. Returns current pickup status and details from the carrier. SANDBOX LIMITATION: no pickups are pre-created in sandbox — use production tokens or schedule a pickup first.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["carrier","confirmations"],"properties":{"locale":{"type":"integer","default":1,"maximum":9007199254740991,"minimum":-9007199254740991},"carrier":{"type":"string"},"confirmations":{"type":"array","items":{"type":"string"},"minItems":1}}},"title":"Track pickup","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"envia_track_pickup","displayName":"Track pickup"},{"name":"envia_generate_complement","description":"Add SAT Carta Porte complement data to shipments for Mexico. Required by the SAT (tax authority) for domestic road freight. Only supported by carriers with Carta Porte integration (DHL MX, FedEx MX). Provide SAT product codes, weight units, and packaging types per item.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["shipments"],"properties":{"shipments":{"type":"array","items":{"type":"object","required":["shipment_id","items"],"properties":{"items":{"type":"array","items":{"type":"object","properties":{"quantity":{"anyOf":[{"type":"integer","maximum":9007199254740991,"minimum":0},{"type":"null"}]},"unit_price":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}]},"weight_unit":{"anyOf":[{"type":"string"},{"type":"null"}]},"product_code":{"anyOf":[{"type":"string"},{"type":"null"}]},"packaging_type":{"anyOf":[{"type":"string"},{"type":"null"}]},"product_description":{"anyOf":[{"type":"string"},{"type":"null"}]}}},"minItems":1},"shipment_id":{"type":"integer","maximum":9007199254740991,"exclusiveMinimum":0}}},"minItems":1}}},"title":"Generate complement","logicalName":"envia_generate_complement","displayName":"Generate complement","annotations":{"untrustedContentHint":true,"readOnlyHint":true}}],"toolSource":"directory_preview","agentAction":"both","installLinks":[{"id":"cursor","label":"Cursor","href":"cursor://anysphere.cursor-deeplink/mcp/install?name=Shipping-Platform-for-Packages-Across-the-United-Kingdom-E&config=eyJ1cmwiOiAiaHR0cHM6Ly9tY3AuZW52aWEuY29tL21jcCJ9"},{"id":"vscode","label":"VS Code","href":"vscode:mcp/install?%7B%22name%22%3A%22Shipping-Platform-for-Packages-Across-the-United-Kingdom-E%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fmcp.envia.com%2Fmcp%22%7D"},{"id":"vscode-insiders","label":"VS Code Insiders","href":"vscode-insiders:mcp/install?%7B%22name%22%3A%22Shipping-Platform-for-Packages-Across-the-United-Kingdom-E%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fmcp.envia.com%2Fmcp%22%7D"},{"id":"claude-web","label":"Claude.ai","href":"https://claude.ai/customize/connectors?modal=add-custom-connector&connectorName=Shipping+Platform+for+Packages+Across+the+United+Kingdom+%7C+E&connectorUrl=https%3A%2F%2Fmcp.envia.com%2Fmcp"},{"id":"codex","label":"Codex","copyText":"codex mcp add \"Shipping-Platform-for-Packages-Across-the-United-Kingdom-E\" --url \"https://mcp.envia.com/mcp\""},{"id":"chatgpt","label":"ChatGPT","href":"https://www.mcpbundles.com/docs/integrations/chatgpt"}],"catalogUrl":"https://www.mcpbundles.com/api/directory/v1/servers/envia-mcp-016f6188e3","callUrl":"https://www.mcpbundles.com/api/directory/v1/servers/envia-mcp-016f6188e3/tools/{tool}","mcpServerUrl":"https://mcp.envia.com/mcp","liveCatalogUrl":"https://www.mcpbundles.com/api/directory/v1/servers/envia-mcp-016f6188e3?live=1"}