Skip to main content
Glama

clm_count_shipments

Read-onlyIdempotent

Count shipments within a schedule date range, grouped by status: open, approved, completed, cancelled/rejected. Optionally filter by site to see counts for a specific location.

Instructions

Shipment counts for a site broken down by status bucket (open, approved, completed, cancelled/rejected).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
site_idNoSite to query. Defaults to the authenticated caller's own site.
filter_schedule_end_dateYesEnd of the schedule date window (inclusive).
filter_schedule_start_dateYesStart of the schedule date window (inclusive).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint and idempotentHint, so safety is covered. The description adds useful grouping context by status bucket, but does not disclose additional behavioral details such as date-window semantics or defaulting behavior, though the schema covers those.

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 focused sentence with no filler. It front-loads the core action and includes the key status breakdown immediately.

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 count tool with full parameter schema and output schema available, the description is mostly sufficient. It could be more complete by explicitly guiding the agent toward or away from sibling shipment tools, but that is a minor gap.

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 100%, and the schema clearly documents site_id and the inclusive schedule date parameters. The description does not add extra meaning beyond what the schema already provides.

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 that the tool provides shipment counts for a site, grouped by status bucket. This distinguishes it from sibling list/search/get tools by emphasizing aggregate counts rather than individual records.

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 implies the tool is for obtaining count summaries by status, but it does not explicitly state when to use it instead of related tools like clm_list_shipments, clm_search_shipments, or clm_get_shipment_summary. No alternatives or exclusions are mentioned.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sabadia/clm-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server