Skip to main content
Glama

unlock_activity

Supplies the password for a protected Packet Tracer activity, enabling score reporting and activity checks when password confirmation is required.

Instructions

Give a password-protected activity its password (for its author or instructor) so Packet Tracer reports scores and runs checks. activity_status shows password_confirmed: false when this is needed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
passwordYesThe activity's password, as set by its author.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileYes
itemsNoAssessment items (the Check Results tree).
pointsNoAssessment points.
is_activityYes
seconds_leftNoSeconds left when the activity has a countdown timer.
score_percentNo
seconds_elapsedNo
percent_completeNo
instruction_pagesNo
password_confirmedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.2

TDQS

A3.9/5.0
Behavior4/5

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

Annotations establish it is a non-read-only, non-destructive, closed-world action; the description adds real context beyond that by stating the consequence of unlocking (Packet Tracer reports scores and runs checks) and implying an author/instructor authorization scope. No permissions or failure modes are detailed, so not a 5.

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?

Two tight sentences, with the action and audience front-loaded and the status check placed second. No filler, though the parenthetical audience clause slightly interrupts the main action.

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 single-parameter mutation with an output schema and annotations covering the safety profile, the description supplies the essential trigger and effect. Return values need not be explained given the output schema, but error/password-mismatch behavior is left unstated.

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 coverage is 100% and the single parameter is fully described there ('as set by its author'). The description adds no syntax, format, or sourcing detail beyond the schema, so the baseline of 3 applies.

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?

States a specific verb+resource ('give a password-protected activity its password') and its functional payoff (scores reported, checks run). It also references the sibling activity_status, which helps distinguish it, though the phrasing 'give ... its password' is slightly indirect versus a plain 'unlock'.

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?

Provides an explicit trigger: use this when activity_status reports password_confirmed: false. That is concrete when-to-use guidance tied to a sibling tool, though it doesn't state when NOT to use it or what happens if the activity is already unlocked.

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