Skip to main content
Glama

haldir_compliance_score

Calculates a live 0–100 audit-prep readiness score with per-criterion pass/warn/fail results and remediation hints for SOC2 Trust Services Criteria, without claiming attestation.

Instructions

Get the tenant's live audit-prep readiness score (0-100) with per-criterion pass/warn/fail + remediation hints. Criteria are relevant to SOC2 Trust Services Criteria (CC5.2, CC6.1, CC6.7, CC7.2, CC7.3, CC8.1) but this is NOT a SOC2 attestation.

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": "haldir_compliance_score"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.3

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full disclosure burden and does substantial work: it declares the score is 'live', bounded 0-100, broken down per criterion with three-state status and remediation hints, and it explicitly warns the result is not a SOC2 attestation. What it omits is whether the call is read-only/safe, whether scoring is computed on demand or cached, and any freshness or auth considerations.

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, both load-bearing: the first defines the result and its shape, the second bounds the criteria's scope and pre-empts the most likely misreading (treating the score as an attestation). The parenthetical CC codes are the longest element but they materially define coverage, so they earn their space.

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 zero-parameter read tool with no annotations and no output schema, the description supplies the essentials: what is returned, the scale, the per-criterion granularity, and an explicit scope disclaimer. Residual gaps are minor - no statement that the operation is read-only, and no indication of how current or costly the 'live' computation is.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate and the baseline of 4 applies. The 100% schema coverage figure is trivially satisfied by an empty properties object.

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?

States a specific verb ('Get') and a precisely scoped resource ('tenant's live audit-prep readiness score'), plus the numeric range (0-100) and the shape of the result (per-criterion pass/warn/fail with remediation hints). That level of detail makes it clearly distinct from siblings such as haldir_build_evidence_pack or haldir_query_audit_trail without needing to name them.

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?

Usage is only implied by the phrase 'audit-prep readiness': an agent can infer this is the tool to call when gauging SOC2 readiness, but there is no explicit when-to-use statement and no when-not or alternative named. The 'NOT a SOC2 attestation' clause scopes interpretation of the output rather than routing between tools.

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