Skip to main content
Glama

WritersLogic business agents

credential-coverage

Do licences, certificates or insurance policies cover a required period without gaps? — Given a required date range (a contract term, a project, a shipment window) and up to 200 credentials each valid from a date to a date (both inclusive), reports the merged covered ranges, every uncovered gap with its first and last day and length, and whether each checkpoint date is covered; a credential ending the day before the next starts is contiguous. Built for an agent verifying insurance, l

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "required": "<required>",
      "credentials": "<credentials>"
    },
    "name": "credential-coverage"
  }
}

Input Schema

NameRequiredDescriptionDefault
requiredYes
checkpointsNoSpecific dates that must be covered (delivery date, audit date).
credentialsYes
toleratedGapDaysNoGaps up to this many days are reported but do not fail (a grace period you are entitled to).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

No annotations exist, so the description carries the full behavioral burden and mostly discharges it: it discloses the output shape (merged ranges, gaps with endpoints and lengths, checkpoint verdicts) and a genuinely non-obvious edge rule — a credential ending the day before the next starts counts as contiguous. It omits failure behavior, e.g. what happens with validFrom after validTo, malformed ranges, or more than 200 credentials.

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?

Front-loads the core question, then a compact inventory of outputs and the contiguity rule — dense but purposeful. It loses a point for one overlong run-on sentence and a trailing clause that is truncated mid-word ('verifying insurance, l'), which leaves the definition visibly incomplete.

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 four-parameter, nested-object tool with no annotations and no output schema, the description compensates well: it explains what the tool returns and the boundary semantics an agent would otherwise have to guess. The remaining gap (the grace-period parameter and error cases) is covered by schema descriptions or is minor relative to 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 description coverage is 50%, so the schema already documents checkpoints, credentials, and toleratedGapDays including the grace-period rationale. The description restates inclusivity of valid-from/valid-to (already in the schema) and the 200-credential cap (already in maxItems), and never discusses toleratedGapDays, adding little semantic meaning beyond structured fields.

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?

Opens with a precise question that names the resource (licences, certificates, insurance policies) and the operation (gap analysis over a required period), then states exactly what it computes: merged covered ranges, every uncovered gap with first/last day and length, and per-checkpoint coverage. An agent can distinguish this from the many sibling '*-coverage' tools (bid-coverage, calibration-coverage, compensation-coverage) because the domain here is explicitly credentials/insurance.

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?

Gives concrete triggering scenarios (a contract term, a project, a shipment window) and an intended consumer ('Built for an agent verifying insurance...'), which implies when to reach for it. However, it offers no explicit exclusions or routing guidance relative to same-family siblings, and the sentence that would have framed the intended use is cut off, so usage is inferred rather than stated.

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