Skip to main content
Glama

import_dpr

Read-onlyIdempotent

Reads a student’s Degree Progress Report PDF locally to extract completed and in-progress courses, remaining requirements, GPA, and catalog year, then cross-checks them against GatorPath’s audit.

Instructions

Read the student's Degree Progress Report on their own machine (Student Center → Degree Progress Report, printed to PDF; click Expand All and View All on long lists first) and return a ready profile (completed SF State and transfer courses, in_progress, ge_done, dpr_met substitutions, gpa, catalog_year from the DPR's "Requirement (Catalog) Term") plus remaining: what the DPR itself says is still needed, and cross_check: where GatorPath's audit disagrees with the DPR (the DPR wins). Name, ID and the PDF text never leave this tool, so the student doesn't need to attach the PDF to the chat; ask for the file's path. Add qr_pathway, goal and start_term, then use the profile with the other tools. If it returns unknown_program, ask which of choices is their major (a concentration doesn't show on the DPR's Plan line) and call again with that id as program.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "pdf_path": "<pdf_path>"
    },
    "name": "import_dpr"
  }
}

Input Schema

NameRequiredDescriptionDefault
programNo
pdf_pathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.2.0
    • addedInput schema / properties / program
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null
      +}
  2. First observedv0.1.0

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/local, but the description adds substantive behavior they cannot express: name, ID and PDF text never leave the tool, so no attachment is needed and the agent should ask for a path. It also discloses conflict-resolution policy ('the DPR wins') and the concentration-doesn't-show-on-the-Plan-line caveat, which is exactly the kind of surprise an agent needs warned about.

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?

Purpose and output shape are front-loaded, and every sentence carries operational content. It is dense and slightly run-on (the parenthetical printing instructions and the mid-paragraph privacy note interrupt flow), but there is no filler to cut.

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

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description correctly enumerates the returned fields (profile subfields including gpa and catalog_year, remaining, cross_check) and the unknown_program error path. For a two-parameter local import tool, an agent has everything needed to call it and interpret the result.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description must carry both parameters, and it largely does: pdf_path is explained as a local file path the student supplies after printing the DPR, and program is explained as a program id taken from `choices` when unknown_program is returned. Neither is given a format or example value, so a small gap remains.

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?

Opens with a specific verb and resource ('Read the student's Degree Progress Report') and names the exact source artifact (Student Center → Degree Progress Report, printed to PDF), then enumerates the three returned sections (profile, remaining, cross_check). It is clearly distinct from the sibling import_transcript, since the object read and the outputs are both named.

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

Usage Guidelines5/5

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

Gives concrete when-to-use mechanics (Expand All / View All before printing, ask the student for the file path rather than an attachment), tells the agent what to do next ('Add qr_pathway, goal and start_term, then use the profile with the other tools'), and covers the failure branch: on unknown_program, ask which of `choices` is the major and retry with that id as `program`. Alternatives and exclusions are effectively handled.

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