Skip to main content
Glama

India Logistics (Shiprocket: courier serviceability + rates, create orders, track AWB)

Server Details

India shipping for AI agents: Shiprocket courier serviceability, create orders, track AWB.

Status
Healthy
Last Tested
Transport
Streamable HTTP
URL

Glama MCP Gateway

Connect through Glama MCP Gateway for full control over tool access and complete visibility into every call.

MCP client
Glama
MCP server

Full call logging

Every tool call is logged with complete inputs and outputs, so you can debug issues and audit what your agents are doing.

Tool access control

Enable or disable individual tools per connector, so you decide what your agents can and cannot do.

Managed credentials

Glama handles OAuth flows, token storage, and automatic rotation, so credentials never expire on your clients.

Usage analytics

See which tools your agents call, how often, and when, so you can understand usage patterns and catch anomalies.

100% free. Your data is private.
Tool DescriptionsA

Average 4.6/5 across 4 of 4 tools scored.

Server CoherenceA
Disambiguation5/5

Each tool has a completely distinct purpose: serviceability quotes, order creation, cancellation, and tracking. No overlap or ambiguity.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern (check_serviceability, create_shipment, cancel_shipment, query_tracking) using snake_case.

Tool Count5/5

4 tools are well-scoped for the domain of logistics – covering rate checks, order creation, cancellation, and tracking without unnecessary bloat.

Completeness3/5

Core workflow is covered, but the critical step of assigning courier/generating AWB after creation is missing, requiring external steps or missing tools.

Available Tools

4 tools
cancel_shipmentA
DestructiveIdempotent
Inspect

Cancel one or more India Shiprocket orders by their Shiprocket order id(s). Pass a single order_id or an array of ids. Cancellation is only possible before the parcel is picked up / in transit — an already-shipped order cannot be cancelled here (it would need an RTO). Returns the cancellation result reported by Shiprocket.

ParametersJSON Schema
NameRequiredDescriptionDefault
order_idNoA single Shiprocket order id to cancel (the numeric id Shiprocket returned, not your own reference).
order_idsNoAlternative: an array of Shiprocket order ids to cancel in one call.
Behavior4/5

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

Annotations already indicate destructiveHint=true and idempotentHint=true. The description adds valuable context about preconditions (only before pickup) and return value (cancellation result), going beyond annotations.

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 concise sentences, front-loaded with the main action. Every sentence provides necessary information without redundancy.

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?

Completely describes the tool's functionality, constraints, and return value. No output schema exists, but the description adequately covers what the agent needs to know.

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?

Schema coverage is 100% with descriptions for both parameters. The description further clarifies that order_id is a single string representing Shiprocket's numeric ID, distinguishing it from user references, adding value beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool cancels Shiprocket orders by order IDs, specifying the action, resource, and domain. It distinguishes from siblings like query_tracking and create_shipment.

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 explicit context on when cancellation is possible (before pickup) and when it is not (already shipped), with an alternative mentioned (RTO). Does not directly compare to siblings, but the context is clear.

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

check_serviceabilityA
Read-only
Inspect

India shipping courier serviceability + live rate quote — THE tool to call FIRST. Given a pickup pincode, a delivery pincode, the parcel weight (KG) and whether it is COD, it returns every courier company (Delhivery, Bluedart, Ekart, Xpressbees, DTDC etc.) that can carry the parcel, each with its freight rate (INR), estimated delivery days and rating, plus which one is cheapest. Read-only: quotes only, creates nothing and spends nothing. Bring your own Shiprocket merchant credentials via headers x-shiprocket-email + x-shiprocket-password.

ParametersJSON Schema
NameRequiredDescriptionDefault
codNotrue = Cash On Delivery, false = Prepaid. Default false. Serviceability differs by payment mode.
weightYesParcel weight in KILOGRAMS (kg). e.g. 0.5 = 500 g. Required.
declared_valueNoOptional order value in INR — some couriers gate by declared value / COD amount.
pickup_postcodeYesOrigin pincode (6-digit Indian postal code the parcel ships FROM). Must be a serviceable pickup pincode on your Shiprocket account.
delivery_postcodeYesDestination pincode (6-digit Indian postal code the parcel ships TO).
Behavior5/5

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

Annotations declare readOnlyHint=true, and the description reinforces this by stating 'Read-only: quotes only, creates nothing and spends nothing.' No contradiction exists. The description adds clarity about the read-only nature and the output (list of couriers with rates, days, rating, cheapest).

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?

The description is concise with two short paragraphs. The purpose is front-loaded in the first sentence. Every sentence serves a purpose: describing inputs, outputs, read-only nature, and authentication requirements. No wasted words.

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 description covers the main behavior and output, mentions authentication, and explains what is returned (list of couriers with freight rate, delivery days, rating, cheapest). It does not describe error handling or limits, but given the complexity and that there is no output schema, it is reasonably complete for an agent.

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?

Schema coverage is 100%, so baseline is 3. The description adds context by explicitly explaining how each parameter (pickup pincode, delivery pincode, weight in KG, COD) is used to generate the result. It doesn't mention the optional 'declared_value' parameter, but overall it adds value beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly specifies the tool's purpose: checking India shipping courier serviceability and getting live rate quotes. It uses a specific verb ('check') and resource ('courier serviceability + rates'), and distinguishes itself from sibling tools by positioning itself as the tool to call first before creating a shipment.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Explicitly states 'THE tool to call FIRST', indicating it should be used before create_shipment. It also specifies required authentication via headers, providing clear guidance on when and how to use the tool. The context of sibling tools implies when not to use it.

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

create_shipmentAInspect

Create an India shipping order in Shiprocket (adhoc order) — pass the pickup_location nickname (a pickup address you already registered in your Shiprocket dashboard), the buyer billing address, the order_items, the payment_method (COD or Prepaid), the order value (sub_total, INR) and the parcel box in CENTIMETRES (length/breadth/height) + weight in KILOGRAMS. Returns the Shiprocket order_id and shipment_id you then use to assign a courier / print the AWB label and to track. NOTE: creating the order does NOT yet debit your Shiprocket wallet — wallet is charged only when you assign a courier / generate the AWB (a step you do in the dashboard or a later tool). Bring your own Shiprocket merchant credentials via headers x-shiprocket-email + x-shiprocket-password. A completed KYC (Aadhaar/GSTIN) and a registered pickup location are merchant-side prerequisites before real parcels ship. Owner policy headers gate the order value before creation.

ParametersJSON Schema
NameRequiredDescriptionDefault
heightYesParcel height in CENTIMETRES (cm). Required, > 0.5.
lengthYesParcel length in CENTIMETRES (cm). Required, > 0.5.
weightYesParcel weight in KILOGRAMS (kg). Required, > 0.
breadthYesParcel breadth in CENTIMETRES (cm). Required, > 0.5.
order_idNoYour own order reference (any unique string). Optional — a timestamp-based id is generated if omitted.
sub_totalYesOrder value in INR (sum of line items). Required. Owner policy headers gate this amount before the order is created.
order_dateNoOrder date "YYYY-MM-DD HH:mm". Optional — defaults to now.
order_itemsYesLine items in the parcel. At least one. Each: { name (required), units (required int), selling_price (required INR), sku (optional) }.
billing_cityYesBuyer city.
billing_emailYesBuyer email.
billing_phoneYesBuyer 10-digit phone.
billing_stateYesBuyer state (e.g. Maharashtra, Karnataka).
shipping_cityNoShipping city (only if shipping_is_billing=false).
payment_methodYesCOD or Prepaid. Required.
shipping_phoneNoShipping phone (only if shipping_is_billing=false).
shipping_stateNoShipping state (only if shipping_is_billing=false).
billing_addressYesBuyer street address line 1.
billing_countryNoBuyer country. Default India.
billing_pincodeYesBuyer 6-digit Indian pincode.
pickup_locationYesThe nickname of a pickup address ALREADY registered in your Shiprocket dashboard (Settings → Pickup Addresses). Required — must match exactly. This is where the courier collects the parcel.
shipping_addressNoShipping street address (only if shipping_is_billing=false).
shipping_countryNoShipping country (only if shipping_is_billing=false). Default India.
shipping_pincodeNoShipping pincode (only if shipping_is_billing=false).
billing_address_2NoBuyer street address line 2. Optional.
billing_last_nameNoBuyer last name. Optional.
shipping_is_billingNotrue (default) = ship to the billing address. Set false to provide a separate shipping_* address.
billing_customer_nameYesBuyer first name.
shipping_customer_nameNoShipping recipient name (only if shipping_is_billing=false).
Behavior5/5

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

Description clearly states the tool creates a shipment order but does not debit the wallet, and returns IDs for later use. It also mentions owner policy headers gate order value. This adds significant context beyond annotations (readOnlyHint=false, destructiveHint=false) and no contradictions.

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?

Two clear paragraphs: first describing the essential flow, second adding prerequisites and header requirements. It is front-loaded with key information but could be slightly more structured (e.g., bullet points).

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?

Given 28 parameters, no output schema, and sibling tools, the description covers the main process, return values, and prerequisites. It lacks explanation of error states or rate limits but is sufficiently complete for an AI agent.

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?

Schema description coverage is 100%, so baseline is 3. Description adds value by specifying units (cm, kg, INR), explaining pickup_location must match dashboard, and clarifying order_items format. This goes beyond the schema descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description explicitly states 'Create an India shipping order in Shiprocket (adhoc order)' with a clear verb and resource. It distinguishes from siblings like cancel_shipment, check_serviceability, and query_tracking by focusing on order creation.

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?

The description mentions prerequisites (registered pickup location, KYC) and notes that wallet is not debited yet. It implies using later tools for courier assignment. However, it does not explicitly state when not to use this tool or mention alternatives beyond 'later tool'.

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

query_trackingA
Read-only
Inspect

Track an India shipment by its shipment_id (the one create_shipment returned) or by AWB number. Returns the current courier status plus a plain-English hint. Common Shiprocket statuses: NEW, PICKUP SCHEDULED, PICKED UP, IN TRANSIT, OUT FOR DELIVERY, DELIVERED, UNDELIVERED, RTO INITIATED, RTO DELIVERED, CANCELED, LOST. The raw tracking_data (scan activities, EDD, courier) is always included. Non-terminal statuses carry next_steps. Safe to call anytime. NOTE: a brand-new order shows no tracking until a courier/AWB is assigned.

ParametersJSON Schema
NameRequiredDescriptionDefault
awbNoAlternative to shipment_id: the AWB / tracking number assigned by the courier.
shipment_idNoThe shipment_id returned by create_shipment (preferred).
Behavior5/5

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

Annotations declare readOnlyHint=true and openWorldHint=true. The description adds specifics: returns status plus hint, includes raw tracking_data, lists common statuses, and mentions next_steps for non-terminal statuses. No contradiction exists.

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?

The description is concise yet informative, front-loading the main action and then detailing status information and a note. Every sentence provides value without redundancy.

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?

Despite lacking an output schema, the description adequately explains return values including status, raw data, and next_steps. It covers the common statuses list and usage caveat. Could benefit from more detail on the hint format, but sufficient for most use cases.

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?

Schema coverage is 100% with parameter descriptions. The description adds context about preferred use of shipment_id vs AWB and explains the purpose of each, which goes beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it tracks an India shipment by shipment_id or AWB, returning courier status and plain-English hint. It distinguishes itself from sibling tools like cancel_shipment, check_serviceability, create_shipment by being a read-only tracking tool.

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?

The description notes 'Safe to call anytime' and warns that a brand-new order shows no tracking until courier/AWB assigned, providing temporal guidance. It does not explicitly state when not to use compared to alternatives, but the context is clear.

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

Discussions

No comments yet. Be the first to start the discussion!

Try in Browser

Your Connectors

Sign in to create a connector for this server.

Resources