Skip to main content
Glama

Attach an assessment to a student

attach_assessment_to_student

Turns an assessment without a student (trial class) into that student's first assessment.

Input Schema

NameRequiredDescriptionDefault
student_idYesThe student_id from list_students.
assessmentIdYesId from list_unlinked_assessments.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior3/5

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

The annotations already declare a non-read-only, non-destructive, open-world mutation. The description adds useful context that the assessment is a trial-class assessment without a student, but it does not disclose failure conditions, reversibility, or whether prior linkage is rejected.

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?

The description is a single front-loaded sentence with no wasted text. It immediately conveys the state transition and the relevant domain context (trial class).

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?

For a two-parameter mutation with full schema descriptions and annotations, the description covers the core operation adequately. But it leaves behavioral gaps around preconditions, side effects, and result expectations that an agent might need before invoking it.

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%, so the schema already documents both parameters and points to list_students and list_unlinked_assessments. The description reinforces that the assessment is unlinked and becomes the student's first assessment, but adds little parameter-specific syntax or constraint detail beyond the schema.

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 uses a specific transformation verb and names both the source assessment state (without a student, trial class) and the target student relationship. It is distinguishable from sibling tools like create_assessment and link_assessment_to_class, though it does not explicitly name those alternatives.

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: use this when an assessment has no student and should become that student's first assessment. However, the description does not explicitly state when not to use it, what to do if the assessment is already linked, or which sibling tools handle related cases.

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