Skip to main content
Glama

grade_lab

grade_lab
Read-onlyIdempotent

Reads native .pka activity scores and fails closed on unmet comparator leaves, helping verify Packet Tracer lab grading against hidden checks.

Instructions

Read native .pka activity score and unmet comparator leaves fail-closed.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description does add one real behavioral trait beyond that: unmet comparators cause a fail-closed outcome rather than a partial or permissive score. However, it never says what fail-closed concretely means (an error, a zero, a refusal), so the disclosure is suggestive rather than actionable.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

At roughly ten words it is certainly short and wastes no space, but the second half is compressed into noun-stack jargon ('unmet comparator leaves fail-closed') that reads like an internal commit message. Brevity here costs comprehension rather than buying it.

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

Completeness2/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 described, but the description omits what an agent most needs for a grading tool: which lab is targeted, whether the lab must be opened or started first, and what a fail-closed result looks like. For a zero-parameter tool whose only input is ambient state, that ambient state should have been explained.

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?

With zero parameters there is no schema semantics to supplement, which normally earns the baseline of 4. The deduction is that the absence of any parameter raises the obvious question of which lab or `.pka` artifact is graded, and the description does not explain the implicit selection mechanism (current lab state, most recent lab_open, etc.).

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The verb 'Read' and the resource 'native `.pka` activity score' give a rough sense that this extracts a grade from a Packet Tracer activity file. But the second clause, 'unmet comparator leaves fail-closed,' is dense internal jargon that an agent cannot confidently decode, and nothing distinguishes this from siblings like verify_lab, lab_diff, or lab_status.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no statement of when to call this versus verify_lab or lab_diff, and no prerequisites are given even though sibling tools such as lab_open and lab_start suggest a lab must first be loaded or started. The agent is left to infer the entire calling context.

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