Skip to main content
Glama

Validate completion

validate_completion
Read-only

Check whether an enrollment meets completion requirements (contact hours ≥ program total and no failed assessments). Read-only.

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": {
      "enrollment_id": "<enrollment_id>"
    },
    "name": "validate_completion"
  }
}

Input Schema

NameRequiredDescriptionDefault
enrollment_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, and the trailing "Read-only" merely restates that, earning no extra credit. The description does add the substantive evaluation rule, but says nothing about whether evaluation has side effects on the enrollment record, what it returns, or how partial/in-progress data is treated.

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?

One front-loaded sentence carries the entire rule, followed by a short qualifier. The only waste is the redundant "Read-only" clause, which duplicates the annotations and adds no new information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description is the only place a caller could learn what a validation result looks like — boolean, reasons list, or hours breakdown — and it omits that entirely. For a pure query tool whose entire value is its answer, this is the main gap, though the input side is adequately covered.

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 the single enrollment_id parameter, so the description carries some burden. Saying "an enrollment" implies the parameter identifies the enrollment to validate, but no format, lookup behavior, or error case for an unknown ID is given.

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 (check), a specific resource (completion of an enrollment), and the exact rule evaluated: contact hours ≥ program total and no failed assessments. An agent knows precisely what question this tool answers without opening the schema.

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 implied by the name and the rule statement, so an agent can infer this is the tool for gating completion. However, there is no explicit guidance on when to call it versus prerequisites (e.g., whether the enrollment must already exist or be active) and no named alternative.

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