Skip to main content
Glama

Regulatory checks: get stored result

compliance_evaluation
Read-onlyIdempotent

Use this when a user wants to retrieve or audit a previous evaluation by its id.

Readable only by the caller who ran it. Requires compliance:read.

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": {
      "evaluation_id": "<evaluation_id>"
    },
    "name": "compliance_evaluation"
  }
}

Input Schema

NameRequiredDescriptionDefault
evaluation_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • removedInput schema / properties / evaluation_id / description
      Removed value: -"evaluation_id returned by compliance_evaluate"
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds two non-obvious operational facts the annotations cannot express: results are visible only to the caller who ran the evaluation, and the compliance:read scope is required. It does not mention behavior when the id is unknown or owned by another user, which is the main remaining gap.

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 short sentences with the usage trigger front-loaded and access constraints following; nothing is redundant or padded.

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-by-id getter with no output schema and full annotation coverage, the description supplies the access-control and scope context an agent needs. It could say more about what the stored result contains or what happens on a missing/foreign id, but the essentials are present.

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 0% for evaluation_id, so the description must carry the load; it clarifies that the id refers to a previously run evaluation, but the UUID format and any error semantics come only from the schema. This is the minimum needed for a single-parameter lookup.

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 states a specific verb ('retrieve or audit') and resource ('a previous evaluation') with the lookup key ('by its id'). The word 'previous' implicitly distinguishes it from running a new evaluation, but it does not name the sibling compliance_evaluate explicitly.

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?

'Use this when a user wants to retrieve or audit a previous evaluation by its id' gives a clear triggering condition. It stops short of naming an alternative or stating exclusions (e.g., use compliance_evaluate to run a new check).

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.