Skip to main content
Glama

Fiveable for AP Teachers

Publish assignment

confirm_publish_assignment
DestructiveIdempotent

Publishes exactly the owner-bound preview identified by previewId, subject to explicit teacher approval of that specific preview. Returns each class's student link and a message to post.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
previewIdYesThe previewId from the matching prepare_ tool, after the teacher said yes to that preview.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
textNoReadable tool result text for clients that consume structured output.
statusYesOperation status: completed, pending, partial, failed, unavailable, or a domain-specific outcome.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true, openWorldHint=true and idempotentHint=true, so the mutating and repeat-safe nature is covered. The description adds a genuine constraint beyond that (owner-binding plus explicit teacher approval), but says nothing about downstream effects such as student notification or reversibility, which matters for a destructive-flagged publish.

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 sentences with no filler; the scoping constraint and the approval gate are front-loaded ahead of the return note. Every clause carries weight.

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?

With an output schema present, the description need not explain return values, and its mention of student links and the message to post is harmless but redundant. For a one-parameter confirm tool it is essentially complete, though it could have named the prepare sibling to close the workflow loop.

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 100% and the single previewId parameter is already documented as coming from 'the matching prepare_ tool, after the teacher said yes.' The description's 'owner-bound preview' adds a slight ownership nuance, but is largely redundant with the schema text, so baseline 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 (publishes) and a tightly scoped resource (exactly the owner-bound preview identified by previewId), which cleanly separates it from a generic publish or from the prepare step. It never names prepare_publish_assignment, so the sibling differentiation is implied rather than explicit.

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?

Gives a clear gating condition: the preview must be owner-bound and the teacher must have explicitly approved that specific preview. What is missing is any naming of the prepare_publish_assignment sibling that produces the previewId, leaving the agent to infer the two-step workflow.

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.