Skip to main content
Glama

Loki MCP — Diagnostics (Droplet)

Read-only MCP server over Loki / Thor, scoped to 1mg's diagnostics (phlebo sample-collection) logistics — not the pharmacy delivery surface. Every order/batch tool targets the diagno endpoints. Diagnostics hubs are PACs (Phlebo Activity Centers, business_client="droplet", type="PAC") and riders are phlebos.

It talks to the same gateway the Thor admin UI uses (https://thor.1mg.com/1mg_api), so no VPN or host setup is needed beyond a valid login token.

Tools

Tool

Surface

What it does

loki_reference_data

enums

Valid order_statuses / task_statuses / rider_statuses / rider_types

loki_search_hubs

hubs

Find a PAC hub id from name/code (defaults to droplet)

loki_get_hub

hubs

Full hub detail by id

loki_search_orders

orders

Diagnostics orders for a PAC on a day — hub_id + day_query required

loki_count_orders_by_status

orders

Order counts by status (all/placed/completed/…) for a PAC+day

loki_get_order

orders

Full order detail by numeric id (tests, slot, status)

loki_get_order_timelines

orders

Date-keyed status history of an order

loki_search_batches

batches

Diagnostics batches (consignments) for a day

loki_get_batch_metrics

batches

Aggregate batch/assignment metrics for a day

loki_get_batch

batches

Full batch detail (orders + assigned_in_batch)

loki_search_riders

riders

Search riders/phlebos (shared infra)

loki_get_rider

riders

Full rider detail by numeric id

loki_get_hub_riders

riders

Phlebos attached to a PAC (optionally by type)

loki_get_phlebo_day_metrics

day tracking

Daily KPI summary (assigned/completed/distance/breach)

loki_get_phlebo_day_tasks

day tracking

Chronological day timeline (shift, login, task sequence)

loki_get_phlebo_planned_route

day tracking

Planned route waypoints + locations

loki_get_phlebo_actual_route

day tracking

Actual GPS pings (speed, battery, coolbox temp)

loki_search_phlebo_daily_metrics

day tracking

"Track Phlebos" board for a PAC+date

loki_get_hub_attendance_metrics

attendance

total_present / total_absent for hub(s) on a date

loki_get_rider_monthly_attendance

attendance

Day-by-day attendance + hours for a rider/month

All tools are read-only (readOnlyHint: true).

Date-format gotchas (they differ by surface)

  • Orders (loki_search_orders, loki_count_orders_by_status): day_query is DD/MM/YYYY.

  • Batches (loki_search_batches, loki_get_batch_metrics): date is YYYY-MM-DD.

  • Phlebo day-tracking/attendance: date is YYYY-MM-DD; phlebo_id/rider_id is the numeric rider id.

  • Order detail/timeline: take the order's numeric id (from search rows), not the NNN-NNN display order_id.

Related MCP server: Cartrack MCP

Auth

Thor authenticates with the authTokenThor JWT cookie. It is short-lived, so the server reads it fresh on every call — refreshing never needs a restart.

  1. Open https://thor.1mg.com while logged in.

  2. DevTools → Application → Cookies → copy the authTokenThor value.

  3. Paste it into the token file:

    echo 'PASTE_TOKEN_HERE' > ~/.loki_token

When calls start returning 401/403, just overwrite ~/.loki_token with a fresh value.

Env var

Default

Purpose

LOKI_TOKEN_FILE

~/.loki_token

Path to token file

LOKI_TOKEN

Token fallback if no file

LOKI_BASE_URL

https://thor.1mg.com/1mg_api

Gateway base

Setup

cd loki-mcp
uv sync
echo 'PASTE_TOKEN_HERE' > ~/.loki_token
uv run python server.py   # smoke test (Ctrl-C to stop)

Register in Claude Code

claude mcp add loki -- /Users/abhishekjain/1mg-claude-code/toy-ptojects/loki-mcp/.venv/bin/python \
  /Users/abhishekjain/1mg-claude-code/toy-ptojects/loki-mcp/server.py

Notes

  • hub_id is mandatory for order/batch/phlebo lookups. Resolve PAC names → ids with loki_search_hubs.

  • See the date-format gotchas above — orders use DD/MM/YYYY, batches/phlebo use YYYY-MM-DD.

  • Intentionally read-only; no write/action tools (assign, auto_assign, etc.) are exposed.

Available Tools

18 tools
loki_get_hubA
Read-only

Get full detail for a single hub by its id (Mongo ObjectId string).

ParametersJSON Schema
NameRequiredDescriptionDefault
hub_idYesThe hub's id, e.g. "681100d59b423d7bd63adc4d".

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the description adds minimal behavioral context beyond stating that the tool returns 'full detail' and the ID format. 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.

Conciseness5/5

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

The description is a single sentence that is concise, front-loaded with the action and resource, and contains no unnecessary words. It earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple read-only tool with one parameter, the description sufficiently explains what the tool does and what input it expects. No output schema is needed, and the annotations cover safety. The description is complete for the tool's complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with a well-described parameter. The description does not add new information beyond the schema's own description of the 'hub_id' field. Baseline score is appropriate.

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 action ('Get') and the resource ('full detail for a single hub'), and specifies the input as an id (Mongo ObjectId string). This distinguishes it from sibling tools like 'loki_search_hubs' which return lists, and other 'get' tools for different entities.

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 implicitly indicates when to use this tool (when you have a specific hub ID and need full details). It does not explicitly mention alternatives or when not to use it, but the context of sibling tools makes it clear. Slightly lacking explicit guidance.

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

loki_get_hub_attendance_metricsA
Read-only

Attendance roll-up for one or more hubs on a date: total_present / total_absent.

ParametersJSON Schema
NameRequiredDescriptionDefault
dateYesDay, YYYY-MM-DD.
hub_idsYesHub ids (required, non-empty).

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint. The description adds value by specifying the output format (total_present/total_absent), which is useful 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?

Single sentence with no wasted words. Purpose and output are front-loaded efficiently.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, so description partially compensates with output format. However, it lacks detail on whether results are aggregated or per hub, and omits error conditions or prerequisites.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and adequately documents hub_ids and date. The description restates 'one or more hubs on a date' without adding new semantics.

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 'Attendance roll-up for one or more hubs on a date' with specific verb and resource. It distinguishes from siblings like loki_get_hub and loki_get_rider_monthly_attendance.

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

Usage Guidelines3/5

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

No explicit when-to-use or when-not-to-use guidance is provided. The description implies usage through context but does not mention alternatives or exclusions.

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

loki_get_hub_ridersB
Read-only

List the riders attached to one or more hubs (optionally filtered by type). Useful to see who is available to fulfil orders at a hub.

ParametersJSON Schema
NameRequiredDescriptionDefault
hub_idsYesList of hub ids (Mongo ObjectId strings).
rider_typeNoOptional rider type filter, e.g. "phlebo".

TDQS

B3.4/5.0
Behavior2/5

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

The annotations already declare readOnlyHint and openWorldHint, but the description adds no additional behavioral context such as pagination, error handling, or data staleness, missing an opportunity to inform the agent.

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

Conciseness5/5

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

Two sentences, direct and front-loaded with the action, every sentence adds value without unnecessary fluff.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, and the description fails to indicate what fields are returned (e.g., rider IDs or full details), leaving an important gap for a simple list tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with descriptions for both parameters. The description's phrase 'optionally filtered by type' reiterates the schema, adding no new semantic 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 verb 'list' and the resource 'riders attached to hubs' with an optional filter, distinguishing it from sibling tools like loki_get_rider and loki_search_riders.

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

Usage Guidelines3/5

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

The description provides a use case ('to see who is available to fulfil orders at a hub') but does not explicitly specify when to use this tool versus alternatives like loki_search_riders.

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

loki_get_orderA
Read-only

Get full detail for a single order.

IMPORTANT: this takes the order's internal numeric id (the id field returned by loki_search_orders, e.g. "29879321"), NOT the human-facing order_id / PO string (e.g. "PO17026268570467"). If you only have a PO string, run loki_search_orders (order_id=) first and read its id.

ParametersJSON Schema
NameRequiredDescriptionDefault
order_idYesThe internal numeric order id, as a string.

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, indicating a safe, non-destructive operation. The description adds valuable behavioral context about the input format (internal id vs PO string), which is not conveyed by annotations. No contradictions found.

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 extremely concise—two sentences plus a critical note. Every part is purposeful, and the important warning is highlighted with 'IMPORTANT', making it easy for an agent to parse quickly.

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 no output schema, the description does not specify the return format, but 'full detail' implies comprehensive data. The input requirements are fully covered. Minor gap: no mention of return structure, but overall adequate for usage.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema provides a minimal description of order_id. The tool description significantly enriches this by clarifying the id's origin, format, and relationship to PO strings, including concrete examples. This goes well beyond the schema's description.

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 explicitly states 'Get full detail for a single order', using a specific verb and resource. It further distinguishes from sibling tools by specifying the unique input requirement (internal numeric id vs PO string), making its purpose clear and differentiated.

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?

The description provides explicit when-to-use guidance (when you have an internal numeric id) and what to do if you don't (run loki_search_orders first). It directly names an alternative tool and the prerequisite action, leaving no ambiguity.

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

loki_get_order_timelinesA
Read-only

Get the status/event timeline for an order -- the chronological history of state changes. Useful for debugging "why is this order stuck/late".

IMPORTANT: takes the order's internal numeric id (the id field from loki_search_orders, e.g. 29879321), NOT the PO… order_id string.

ParametersJSON Schema
NameRequiredDescriptionDefault
order_idYesThe internal numeric order id.

TDQS

A4.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true. The description adds value by explaining the output is a chronological timeline and warns about the id type. No contradictions. A small deduction because the description could mention pagination or format, but overall good.

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: two core sentences plus a highlighted warning. It is front-loaded with purpose, then usage, then parameter detail. Every sentence serves a purpose with no waste.

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?

Given the tool has one parameter and no output schema, the description is complete. It explains the tool's function, when to use it, and the exact input required. No missing information.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema describes order_id as 'The internal numeric order id.' The description adds crucial context: it is the id from loki_search_orders, not the PO string. This extra meaning helps the agent select the correct value.

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 gets the status/event timeline for an order, specifically the chronological history of state changes. It uses a specific verb and resource, and the purpose is distinct from sibling tools like loki_get_order (single order snapshot) and loki_search_orders (search).

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?

The description explicitly says it is useful for debugging 'why is this order stuck/late', providing clear context for when to use it. It also contrasts the required input (internal numeric id) with the PO order_id string, helping the agent avoid misuse.

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

loki_get_phlebo_actual_routeA
Read-only

The actual GPS location history for a phlebo/rider on a date: timestamped lat/long pings with speed, battery % and coolbox temperature. Use to verify where a rider actually went and device/coolbox health.

ParametersJSON Schema
NameRequiredDescriptionDefault
dateYesDay, YYYY-MM-DD.
phlebo_idYesNumeric rider id.

TDQS

A4.3/5.0
Behavior4/5

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

Beyond annotations (readOnlyHint=true, openWorldHint=true), the description adds that it returns timestamped pings with metrics. No contradictions with annotations. It doesn't detail rate limits or auth, but given readOnlyHint, this is acceptable.

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

Conciseness5/5

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

Two sentences packed with information: first defines what the tool returns, second explains its purpose. No filler or 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?

For a simple tool with 2 parameters and no output schema, the description lists the key output components (lat/long, speed, battery, temperature) and the use case, making it complete enough for an agent to understand what it provides.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with clear descriptions for both parameters (date and phlebo_id). The description adds context that date refers to the day of history but doesn't add new semantic meaning beyond the schema, so baseline 3.

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 provides GPS location history for a rider on a date, including lat/long, speed, battery, and temperature. It is specific about the resource and fields, and distinguishes from the sibling 'planned_route' tool by using 'actual'.

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 explicitly states the use case: 'verify where a rider actually went and device/coolbox health.' While it doesn't list negative cases, the contrast with sibling tools (planned_route) is implicit and sufficient.

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

loki_get_phlebo_day_metricsA
Read-only

Daily summary KPIs for one phlebo/rider on a given date: Total Assigned, Completed, Cancelled, Total Distance (planned/actual), SLA Breach, Time, and Sequence edits. The fast "how did this rider's day go" snapshot.

ParametersJSON Schema
NameRequiredDescriptionDefault
dateYesDay to report on, YYYY-MM-DD (e.g. "2026-06-24").
phlebo_idYesNumeric rider id (e.g. 14037).

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already indicate readOnlyHint=true and openWorldHint=true, so the description's addition of specific KPI names (Total Assigned, Completed, etc.) provides valuable behavioral context beyond the annotations. It does not contradict 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?

The description is two sentences: the first lists KPIs, the second provides a concise summary phrase. No redundant words, front-loaded with key information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple 2-parameter read-only tool without an output schema, the description fully explains what the tool returns (specific KPIs). The annotations handle safety and variability. No missing information.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with clear parameter descriptions for date and phlebo_id. The description adds little beyond the schema (e.g., 'on a given date' and 'one phlebo/rider'), so a baseline score of 3 is appropriate.

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 provides 'Daily summary KPIs' for a specific rider/date, listing the exact metrics. This clearly distinguishes it from sibling tools like loki_get_phlebo_day_tasks (tasks) and loki_search_phlebo_daily_metrics (search across riders/dates).

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 implies usage for a quick snapshot of a rider's day ('fast how did this rider's day go'). It does not explicitly state when not to use it or mention alternatives, but the context of siblings and the specific KPI focus provides clear guidance.

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

loki_get_phlebo_day_tasksA
Read-only

The chronological day timeline for one phlebo/rider: shift start, login, and each task in expected sequence with status, group, SLA status and order timestamps. Use to debug a rider's route/sequence on a specific day.

ParametersJSON Schema
NameRequiredDescriptionDefault
dateYesDay, YYYY-MM-DD.
phlebo_idYesNumeric rider id (e.g. 14037).

TDQS

A4/5.0
Behavior3/5

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

Annotations already provide readOnlyHint=true and openWorldHint=true, covering core behavioral traits. The description adds context about the output contents but does not disclose additional behaviors like rate limits or data freshness. It does not contradict 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?

The description is two sentences: the first explains what the tool returns, the second states its use case. No redundant or unnecessary information. Front-loaded with the most important details.

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 the tool has only two parameters with full schema coverage, read-only annotations, and no output schema, the description is adequate. It covers the output structure and purpose. Could be improved by noting that the timeline is for a single rider on a single day, which is implicit but not explicit.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, and the schema descriptions are clear. The description does not add parameter-specific details beyond what the schema provides, so it meets the baseline expectation.

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 uses a specific verb ('get') and resource ('chronological day timeline for one phlebo/rider'), listing the contents (shift start, login, tasks) and purpose (debug route/sequence). It clearly distinguishes from sibling tools like loki_get_phlebo_actual_route and loki_get_phlebo_planned_route.

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 explicitly states when to use the tool ('Use to debug a rider's route/sequence on a specific day'). It does not mention when not to use or list alternatives, but the context is clear enough for an AI to infer usage.

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

loki_get_phlebo_planned_routeA
Read-only

The planned route for a phlebo/rider on a date: ordered [lng,lat] waypoints plus order/home/hub locations. Compare with loki_get_phlebo_actual_route to spot route deviations.

ParametersJSON Schema
NameRequiredDescriptionDefault
dateYesDay, YYYY-MM-DD.
phlebo_idYesNumeric rider id.

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already indicate readOnlyHint=true and openWorldHint=true. The description adds value by detailing the output structure (ordered waypoints, locations) and the nature of the data (planned route), providing behavioral context beyond the annotations. 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.

Conciseness5/5

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

The description is extremely concise: two sentences that efficiently convey the tool's purpose, output, and a key comparison use case. No unnecessary words or repetition.

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?

Despite no output schema, the description sufficiently describes the return format (ordered [lng,lat] waypoints plus locations). Annotations cover permission and variability. The description distinguishes the tool from related siblings and provides enough context for an agent to invoke it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema covers both parameters with descriptions (date format, integer id). The description does not add new information about parameters beyond saying 'on a date' and 'for a phlebo/rider', which is redundant. With 100% schema coverage, a baseline score of 3 is appropriate.

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 returns the planned route for a phlebo/rider on a date, specifying it includes ordered [lng,lat] waypoints plus order/home/hub locations. It also explicitly distinguishes from the sibling tool loki_get_phlebo_actual_route, making the purpose highly specific.

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 provides context by suggesting comparison with the actual route to spot deviations, implying a use case for route analysis. While it does not explicitly state when to use or not use the tool, the reference to a sibling tool gives clear situational guidance.

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

loki_get_riderA
Read-only

Get full detail for a single rider by numeric id.

ParametersJSON Schema
NameRequiredDescriptionDefault
rider_idYesThe numeric rider id.

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true. The description adds 'full detail' but does not disclose any additional behavioral traits (e.g., what fields are returned, if any filtering is applied). It provides limited added value beyond the 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?

A single, efficient sentence that is front-loaded and contains no extraneous words. It earns its place.

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?

For a simple read-only tool with one parameter and no output schema, the description covers the essential purpose and input. It could be more specific about what 'full detail' includes, but it is fairly complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with a clear description for rider_id. The tool description echoes 'by numeric id' but adds no new semantic meaning beyond the parameter's own description. Baseline score of 3 is appropriate.

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 action 'Get', the resource 'full detail for a single rider', and the method 'by numeric id'. It effectively distinguishes from sibling tools like loki_search_riders or other get tools.

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 implies usage when a numeric rider id is available and full details are needed. However, it does not explicitly mention when not to use or suggest alternatives like search tools.

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

loki_get_rider_monthly_attendanceA
Read-only

A rider's day-by-day attendance for a month: per-date attendance_status (present/absent) and hours worked.

ParametersJSON Schema
NameRequiredDescriptionDefault
yearYesFour-digit year, e.g. 2026.
monthYesMonth number 1-12.
rider_idYesNumeric rider id.

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already indicate readOnlyHint=true and openWorldHint=true. The description adds value by specifying the granularity (day-by-day) and the exact data returned (attendance_status and hours worked), which goes beyond what annotations provide.

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?

Single sentence, front-loaded with key information, no wasted words. Perfectly concise for the information conveyed.

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?

No output schema exists, so description must explain return data. It does so by stating per-date attendance_status and hours worked. Minor omission: doesn't mention ordering or total hours, 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.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so parameters are already well-documented. The description confirms the monthly scope (aligning with month/year) but adds no new semantic meaning 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?

Description clearly states the tool provides a rider's day-by-day attendance for a month, including attendance status and hours worked. It uniquely identifies the resource (rider attendance) and temporal scope (monthly), distinguishing it from siblings like loki_get_rider (general rider info) and loki_get_hub_attendance_metrics (hub-level metrics).

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 implies usage for retrieving monthly attendance of a specific rider. While it lacks explicit when-to-use or alternative guidance, the context from sibling tools and name makes it clear enough for an agent to select the correct tool.

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

loki_get_taskA
Read-only

Get full detail for a single task by its id.

ParametersJSON Schema
NameRequiredDescriptionDefault
task_idYesThe task id (string).

TDQS

A3.6/5.0
Behavior3/5

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

Annotations indicate readOnlyHint=true and openWorldHint=true, which describe the behavioral traits. The description adds minimal context beyond 'full detail', which could be ambiguous. No contradiction is present.

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 a single sentence that efficiently conveys the tool's purpose without any wasted words or redundant information.

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 the single parameter, no output schema, and annotations providing safety information, the description is nearly complete. It could be improved by clarifying the response format or scope of 'full detail', but it is adequate for a simple retrieval tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 100% description coverage for the single parameter (task_id). The description does not add meaning beyond what the schema already provides, so a baseline score of 3 is appropriate.

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 action (Get), the resource (full detail for a single task), and the method (by its id). This distinguishes it from sibling tools like loki_search_tasks which retrieve lists.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives. It does not mention that it is for retrieving a single task by ID, nor does it exclude cases like when you need a list of tasks (use loki_search_tasks).

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

loki_reference_dataA
Read-only

Fetch valid enumeration values used as filters across Loki.

Use this to discover the allowed values for status/type/category/fulfilled_by filters before calling the search tools.

ParametersJSON Schema
NameRequiredDescriptionDefault
kindYesOne of: order_statuses, order_types, order_categories, order_fulfilled_by, order_business_types, task_statuses, rider_statuses, rider_types.

TDQS

A4.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, signaling safety and dynamic data. The description adds that it fetches enumeration values, which is consistent but does not reveal additional behavioral traits beyond what annotations convey.

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: first states purpose, second gives usage guidance. No wasted words, front-loads key information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple tool with one parameter and no output schema, the description fully covers purpose, usage, and context. Sufficient for an agent to correctly select and invoke.

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 has 100% coverage with description listing valid values for the 'kind' parameter. The description adds context by explaining the parameter's role in discovering filter values, enhancing understanding 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?

Clearly states the tool fetches valid enumeration values for filters. Distinguishes itself from sibling search/get tools by being a reference helper, not a data retriever.

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?

Explicitly advises to use this tool before calling search tools to discover allowed filter values. Provides clear context, but does not specify when not to use it or alternative approaches.

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

loki_search_hubsA
Read-only

Search logistics hubs. Use this first to find a hub's id (a Mongo ObjectId string) when you only know its name/code -- order and task search require hub_id.

Note on hub kinds: pharmacy delivery hubs are business_client="pharmacy" (types like RETAIL); diagnostics phlebo centers (PACs) are business_client="droplet", type="PAC". A "Sec-14 Gurgaon PAC" is therefore a droplet/PAC hub, not the same as the "sec_14_ggn_retail" pharmacy hub.

IMPORTANT: the server DEFAULTS business_client to "pharmacy" when it is omitted, so a search for a diagnostics/phlebo hub returns nothing unless you pass business_client="droplet". query is a substring match over both name AND code, so short numeric queries (e.g. "14") also match hub codes.

ParametersJSON Schema
NameRequiredDescriptionDefault
pageNo1-based page number.
queryNoSubstring match on hub name OR code (sent as `name_code_query`).
statusNoe.g. "active".
compactNoIf True (default) return only key fields per hub (id, name, code, type, status, business_client, city, lat/long). Set False for the full hub objects (large -- may overflow on big pages).
hub_typeNoHub type filter, e.g. "PAC", "RETAIL".
per_pageNoPage size (default 20).
extra_filtersNoAny additional raw filter fields to merge into the payload (e.g. {"name": "...", "code": "...", "vendor_code": "..."}).
business_clientNoe.g. "pharmacy", "droplet".

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already indicate readOnlyHint and openWorldHint. The description adds valuable behavioral details: server-side default for business_client, substring match behavior, compact mode to manage output size. 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?

Reasonably concise with no wasted sentences, though the note on hub kinds adds length. Structured with clear sections. Could be slightly more streamlined but effective.

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 8 parameters and no output schema, the description covers key aspects: purpose, defaults, filtering, and relation to other tools. Lacks explicit output format but mentions compact return fields. Adequate for the complexity.

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?

All parameters have schema descriptions (100% coverage). The description enhances understanding by explaining defaults, query substring matching, and extra_filters purpose. Adds context beyond 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 action (search), the resource (logistics hubs), and the primary goal (find hub ID by name/code). It distinguishes itself from sibling tools by noting that order and task search require hub_id, making the purpose explicit.

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 provides clear when-to-use guidance (use first to find hub ID) and important context (business_client defaults, need to pass 'droplet' for diagnostics hubs). It does not explicitly exclude scenarios but covers key usage nuances.

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

loki_search_ordersD
Read-only
ParametersJSON Schema
NameRequiredDescriptionDefault
cityNo
pageNo
hub_idYes
statusNo
pincodeNo
categoryNo
order_idNo
per_pageNo
order_idsNo
order_typeNo
rider_nameNo
sub_statusNo
fulfilled_byNo
extra_filtersNo
slot_start_toNo
created_at_endNo
slot_start_fromNo
created_at_startNo
rider_phone_numberNo

TDQS

D1/5.0
Behavior1/5

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

Tool has no description.

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

Conciseness1/5

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

Tool has no description.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Tool has no description.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Tool has no description.

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

Purpose1/5

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

Tool has no description.

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

Usage Guidelines1/5

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

Tool has no description.

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

loki_search_phlebo_daily_metricsA
Read-only

List all phlebos/riders working a hub on a date with their live day-tracking row: status, availability, battery, lat/long, last_seen, tasks_assigned, orders_completed, attendance_status, coolbox temperature, idle/offline time. This is the "Track Phlebos" board for a hub+day.

ParametersJSON Schema
NameRequiredDescriptionDefault
dateYesDay, YYYY-MM-DD.
pageNo
hub_idsYesHub ids to list phlebos for (required, non-empty).
per_pageNo
extra_filtersNoAdditional raw filter fields (e.g. status, availability).

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the description does not need to re-state safety. It adds value by listing the specific fields returned (status, availability, battery, etc.), but does not disclose behavioral traits like pagination behavior or how extra_filters are interpreted. The description is adequate but not exceptional beyond the 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?

The description is two sentences: the first lists the tool's output fields, the second frames it as a board. Every word serves a purpose, and the core action is front-loaded. There is no redundant or filler content.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 5 parameters and no output schema, the description covers the basic purpose and output fields, but lacks details on pagination (page, per_page) and the usage of extra_filters. It does not document any special behaviors like rate limits or prerequisites. It is adequate for a simple list endpoint but incomplete for full autonomous invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 60% (date, hub_ids, extra_filters have descriptions; page and per_page do not). The description lists the returned fields, which relate to extra_filters, but does not add meaning to the parameters beyond the schema. For example, it does not explain the format of date or the role of pagination. The added value is marginal, so a baseline score of 3 is appropriate.

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 lists all phlebos/riders working a hub on a date, providing a specific verb ('List'), resource ('phlebos/riders'), and scope ('working a hub on a date'). It distinguishes itself from siblings like loki_get_phlebo_day_metrics (single phlebo metrics) and loki_get_hub_riders (riders without live tracking), making its purpose unmistakable.

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 explicitly frames this as the 'Track Phlebos' board for a hub+day, giving clear context for when to use it—to view live day-tracking data at a hub-day level. While it does not list explicit when-not-to-use scenarios or alternatives, the context is sufficient to guide an agent, especially given the sibling tool names.

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

loki_search_ridersB
Read-only

Search riders (delivery agents / phlebos).

Use loki_reference_data('rider_statuses' | 'rider_types') for valid values.

ParametersJSON Schema
NameRequiredDescriptionDefault
pageNo
queryNoFree-text name/phone/code match (sent as `search_string`).
statusNoRider statuses.
per_pageNo
rider_typeNoRider types, e.g. ["phlebo"].
extra_filtersNoAdditional raw filter fields.

TDQS

B3.2/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the description adds limited behavioral context. It confirms the tool searches riders, but does not describe pagination, sorting, or the response structure (e.g., what fields are returned). The absence of output schema further burdens the description to explain behavior, which it fails to do adequately.

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 extremely concise, consisting of two short sentences that immediately convey the tool's purpose and a crucial usage hint. Every word is meaningful, with no redundancy or filler. This is exemplary conciseness.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity of 6 parameters, no required fields, and no output schema, the description is insufficient. It omits details about pagination (despite page and per_page parameters), default behavior, and the structure of search results. The openWorldHint annotation suggests flexible output, but the description does not prepare the agent for what to expect, making it incomplete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description adds value by directing users to reference data for the status and type parameters, which are partially documented in the schema. However, it does not explain the other parameters (page, per_page, extra_filters) beyond what the schema provides. With 67% schema coverage, the description marginally compensates for the gap but does not fully clarify all parameters.

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

Purpose4/5

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

The description clearly states the tool searches for riders, defining them as 'delivery agents / phlebos'. It provides the verb 'Search' and resource 'riders', making the purpose unambiguous. However, it does not explicitly differentiate from sibling tools like loki_get_rider (single rider) or loki_get_hub_riders (riders by hub), which would elevate it to a 5.

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

Usage Guidelines3/5

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

The description advises using loki_reference_data to obtain valid values for status and type filters, which is helpful guidance. It lacks explicit instructions on when to use this tool versus alternatives (e.g., get_rider for a specific rider, search_hubs for hubs), and does not mention pagination or default behavior. This provides some guidance but is not comprehensive.

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

loki_search_tasksD
Read-only
ParametersJSON Schema
NameRequiredDescriptionDefault
pageNo
hub_idYes
statusNo
order_idNo
per_pageNo
name_queryNo
sla_statusNo
fulfilled_byNo
extra_filtersNo
slot_start_toNo
created_at_endNo
slot_start_fromNo
created_at_startNo

TDQS

D1/5.0
Behavior1/5

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

Tool has no description.

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

Conciseness1/5

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

Tool has no description.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Tool has no description.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Tool has no description.

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

Purpose1/5

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

Tool has no description.

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

Usage Guidelines1/5

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

Tool has no description.

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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 18 tool updatesv0.1.0
    • First observedloki_get_hub
    • First observedloki_get_hub_attendance_metrics
    • First observedloki_get_hub_riders
    • First observedloki_get_order
    • First observedloki_get_order_timelines
    • First observedloki_get_phlebo_actual_route
    • First observedloki_get_phlebo_day_metrics
    • First observedloki_get_phlebo_day_tasks
    • First observedloki_get_phlebo_planned_route
    • First observedloki_get_rider
    • First observedloki_get_rider_monthly_attendance
    • First observedloki_get_task
    • First observedloki_reference_data
    • First observedloki_search_hubs
    • First observedloki_search_orders
    • First observedloki_search_phlebo_daily_metrics
    • First observedloki_search_riders
    • First observedloki_search_tasks

TDQS

B3.2/5.0

Scored across 18 tools

Disambiguation4/5

Most tools target distinct resources and actions, but two search tools lack descriptions, causing potential ambiguity. The distinction between similar rider tools is well-managed through detailed descriptions.

Naming Consistency5/5

All tools follow a consistent `loki_<verb>_<resource>` pattern with underscores separating words. No mixing of convention or case variability observed.

Tool Count5/5

18 tools is well-scoped for a logistics monitoring server, covering hubs, orders, riders, tasks, and reference data without being overwhelming.

Completeness3/5

The tools focus on reading and analytics but lack any creation, update, or deletion operations. This is acceptable for a monitoring surface, but the missing mutations create notable gaps for full lifecycle management.

Maintenance

ActivityInactive
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    MCP server for Getir partner API (Turkey). Manage orders, products, pricing, and store status for your Getir restaurant via Bearer token authentication.
    8
    6 npm
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    A read-only MCP server for Cartrack fleet management, enabling listing vehicles and checking their last-known status and location.
    MIT
  • A
    license
    A
    quality
    A
    maintenance
    MCP server for the Yango Delivery B2B API, enabling price estimation, express-courier claim creation and confirmation, courier tracking, and recipient tracking links through natural language.
    13
    95 npm
    MIT