Skip to main content
Glama

Fiveable for AP Students

Update study plan tasks

update_study_plan_tasks
Idempotent

Marks specified owned plan tasks complete or incomplete at the student's request. This is self-reported planning, never a quiz score or practice submission. Supply the latest revision and a unique requestId; retry identical input safely.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tasksYes
planIdYes
requestIdYesUnique id for this intended action. Reuse it with identical input on retries.
expectedRevisionYes

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. Changed3 schema fields changed
    • removedInput schema / properties / requestId / maxLength
      Removed value: -128
    • removedInput schema / properties / requestId / minLength
      Removed value: -8
    • changedInput schema / properties / requestId / pattern
      Previous value: -"^[\\w-]+$"New value: +"^[\\w-]{8,128}$"
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare idempotentHint=true and readOnlyHint=false. The description adds 'self-reported planning' and 'retry identical input safely', which align with idempotency and provide context beyond the annotations. It does not contradict annotations, and the added context is valuable.

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 fluff. The central action and key constraints are front-loaded, and every phrase earns its place.

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?

The description covers purpose, usage exclusions, and key parameter semantics. With an output schema and annotations handling safety and idempotency, it is sufficiently complete. It doesn't mention error handling or prerequisites, but those are not essential given the other structured fields.

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 only 25% (only requestId has a description). The description adds meaning to expectedRevision ('Supply the latest revision') and reinforces requestId's uniqueness, but it does not explicitly describe tasks or planId. These are inferable from names and schema patterns, but the description could compensate more given the low coverage.

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?

The description clearly states a specific verb (marks) and resource (owned plan tasks) and explicitly differentiates from quiz/practice submissions. This distinguishes it from sibling tools that handle scoring. The phrase 'at the student's request' adds context without ambiguity.

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?

It provides a when-not ('never a quiz score or practice submission') and a when ('at the student's request'), but does not name alternatives or explicitly say when to prefer this tool over others. With no direct update sibling, the lack of alternatives is acceptable, but the guidance is partial.

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.