Skip to main content
Glama

Data Readiness Audit

get_data_readiness
Read-only

Audit whether the tenant's data can power each product capability — the answer to 'why are my recommendations empty?'. Returns, per capability (forecast_foundation, reorder_recommendations, demand_forecasting, days_of_supply, inventory_health), a ready/partial/not_ready status derived from its REQUIRED data gates, plus every gate's coverage numbers (e.g. items with a confident demand signal / supplier terms / costs / stock on hand, months of sales history) and the specific tool that closes each gap. A required coverage gate is a minimum: it is ready once anything is covered, because how much of a catalog needs covering depends on the business. Its remaining count is what is still uncovered — offer that as an optional improvement, never as a blocker. Re-run it after seeding to verify gates went green. unblock lists every gate not fully met once, blocked first: what is missing, how many items it affects, what supplying it enables, and ordered ways forward, the person's own tools first (a connected tool's backfill, then one to connect), then a file, then a Spark tool. Tell the person in plain words what to supply and offer the first way; do not invent a workaround. Coverage confines to a client-pinned credential's client; an unpinned 3PL operator can pass clientId.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_data_readiness"
  }
}

Input Schema

NameRequiredDescriptionDefault
clientIdNoOptional client id for a 3PL operator view. Client-pinned credentials omit it.

Output Schema

NameRequiredDescriptionDefault
unblockNo
capabilitiesNo
scopeClientIdNo
scopedToClientNo
monthsOfHistoryNo
inventoryItemCountNo
forecastReadySampleNo
forecastReadyItemCountNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / unblock
      Added value: +{
      +  "items": {
      +    "properties": {
      +      "affected": {
      +        "type": [
      +          "integer",
      +          "null"
      +        ]
      +      },
      +      "alsoAffects": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "capability": {
      +        "type": "string"
      +      },
      +      "effect": {
      +        "type": "string"
      +      },
      +      "enables": {
      +        "type": "string"
      +      },
      +      "gate": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "kind": {
      +        "type": "string"
      +      },
      +      "measured": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "missingKinds": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "total": {
      +        "type": [
      +          "integer",
      +          "null"
      +        ]
      +      },
      +      "ways": {
      +        "items": {
      +          "properties": {
      +            "action": {
      +              "type": "string"
      +            },
      +            "dataKind": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "kind": {
      +              "type": "string"
      +            },
      +            "route": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "source": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "sourceStatus": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "tool": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "url": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  2. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare a safe, closed-world read, but the description goes well beyond them: it explains the non-obvious semantics of a required coverage gate (ready once anything is covered, because the needed coverage depends on the business), the meaning of `remaining`, the ordering and content of the `unblock` list, and the effect of a client-pinned credential. These are behavioral traits an agent could not infer from the schema or annotations.

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?

Purpose and return shape are front-loaded, and nearly every sentence carries operational content. Some sentences are dense multi-clause run-ons (notably the `unblock` ordering sentence with its tool-then-file-then-Spark chain) that could be split for faster parsing, but there is little outright 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?

An output schema exists, so return values need not be spelled out, yet the description usefully explains the status semantics and gate coverage numbers the schema alone would not convey. Combined with the annotation-covered safety profile and fully documented single parameter, an agent has everything needed to call and interpret this tool correctly.

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 a single optional `clientId`, so the baseline is already 3. The description adds real meaning beyond the schema: coverage is confined to a client-pinned credential's client, and an unpinned 3PL operator may pass clientId — telling the agent who should and should not supply it.

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?

States a specific verb and resource ('Audit whether the tenant's data can power each product capability') and anchors it to a real user question ('why are my recommendations empty?'), then enumerates the five capabilities and the ready/partial/not_ready status returned. It never names a sibling such as get_data_coverage or get_campaign_readiness, so the boundary against near-neighbours is left implicit.

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?

Gives clear triggering context (empty recommendations) and an explicit lifecycle instruction: 'Re-run it after seeding to verify gates went green.' It also carries a strong usage rule about how to treat the `remaining` count — an optional improvement, never a blocker. What it lacks is an explicit statement of when to prefer this over get_data_coverage or the campaign/manufacturing readiness siblings.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources