Skip to main content
Glama

Read planning progress or a saved result

get_planning_calculation
Read-onlyIdempotent

Read a saved planning calculation. section selects what is returned: status (default) for progress, input for the fixed inputs it used, list for a lightweight overview of returned routes and scope, reading for user-facing route details (conditions, preparations, dependencies, time, costs and sources), goal for one selected goal and its dependency closure, or result for raw detail. A status read waits up to ten seconds and, while the calculation is queued or running, returns retry_after_seconds; read status again with the same calculation_id until it is succeeded or failed. An interrupted read does not need a new calculation. Saved metadata includes calculation_scope, continuation_of and route_summary; route_summary reports, for ordinary and forecast 189 routes, how many have a route diagram and how many have a conditional PR date, plus forecast status and completeness. Start the overview with section=list and result_path="". To open a route or condition, copy its returned reading_ref or reading_sections section and path into section and result_path. Use next_cursor for further pages at the same section and path, and reset cursor when either changes. A single value too large to return gives result_value_too_large (413); a smaller limit does not change that. For a selected goal use section=goal with goal_path copied from its raw goal pointer; result_path is relative to that goal detail. Reset cursor when changing goal_path. result_list, result_reading and result_goal schemas describe the returned fields. Shared /records/pr_forecast/ and /records/processing_statistic/ references are read with section=reading in the same calculation; reuse identical references without expanding them per route. Goal pages may contain kind=shared entries: resolve record_id from the records map or an intact previously read record in the same fixed calculation. Missing definitions are unread, not empty. Read the selected goal first and reuse predictions/statistics already in its dependencies before requesting separate evidence. Group independent reads of known paths in one tool round. Preserve distinct goals and unread pages. scope_gaps lists directions not explored because a preference is undecided, which is different from ineligibility. Unknown scores, dates and costs stay unknown, a succeeded calculation is not a visa decision, and reading never starts a new calculation. Requires the authenticated One U Education account and declared planning scope; credentials and user identity are never tool arguments.

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": {
      "dossier_id": "<dossier_id>",
      "calculation_id": "<calculation_id>"
    },
    "name": "get_planning_calculation"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
cursorNo
sectionNostatus is progress; list is a lightweight overview of returned choices and scope; reading is expanded user-facing detail, opened through a returned reading_ref or reading_sections reference; goal is one target with its dependency closure selected by goal_path; result is raw detail; input is the fixed calculation input. result_list, result_reading and result_goal describe these projections.status
goal_pathNoRequired only for section=goal. Copy the raw goal pointer from the goal catalogue: /plan_graphs/{ref}/goals/{index} or /forecast_search/routes/{index}/plan_graph/goals/{index}. result_path then selects inside this goal detail; reset cursor when changing goal.
dossier_idYes
result_pathNoEmpty string starts the overview. Copy each returned reading_ref or reading_sections reference section and path into section and result_path; reading_sections may target reading or result. detail_path belongs to raw result. For section=goal, result_path is relative to the selected goal detail. Reset cursor when changing section, path or goal_path. An inline entry is complete only within its selected projection.
calculation_idYes

Output Schema

NameRequiredDescriptionDefault
msgYes
codeYes
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • changedInput schema / $defs / __schema1 / enum
      Previous value: -[
      -  "status",
      -  "input",
      -  "list",
      -  "reading",
      -  "result"
      -]New value: +[
      +  "status",
      +  "input",
      +  "list",
      +  "reading",
      +  "result",
      +  "goal"
      +]
    • addedInput schema / $defs / __schema2 / maxLength
      Added value: +2048
    • addedInput schema / $defs / __schema2 / minLength
      Added value: +1
    • addedInput schema / $defs / __schema3
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / goal_path
      Added value: +{
      +  "$ref": "#/$defs/__schema2",
      +  "description": "Required only for section=goal. Copy the raw goal pointer from the goal catalogue: /plan_graphs/{ref}/goals/{index} or /forecast_search/routes/{index}/plan_graph/goals/{index}. result_path then selects inside this goal detail; reset cursor when changing goal."
      +}
    • changedInput schema / properties / result_path / $ref
      Previous value: -"#/$defs/__schema2"New value: +"#/$defs/__schema3"
    • changedInput schema / properties / result_path / description
      Previous value: -"Empty string starts the overview. Copy each returned reading_ref or reading_sections reference section and path into section and result_path; reading_sections may target reading or result. detail_path belongs to raw result. Reset cursor when changing section or path. An inline entry is complete only within its selected projection."New value: +"Empty string starts the overview. Copy each returned reading_ref or reading_sections reference section and path into section and result_path; reading_sections may target reading or result. detail_path belongs to raw result. For section=goal, result_path is relative to the selected goal detail. Reset cursor when changing section, path or goal_path. An inline entry is complete only within its selected projection."
    • changedInput schema / properties / section / description
      Previous value: -"status is progress; list is a lightweight overview of returned choices and scope; reading is expanded user-facing detail, opened through a returned reading_ref or reading_sections reference; result is raw detail; input is the fixed calculation input. result_list describes the list projection and result_reading describes expanded detail."New value: +"status is progress; list is a lightweight overview of returned choices and scope; reading is expanded user-facing detail, opened through a returned reading_ref or reading_sections reference; goal is one target with its dependency closure selected by goal_path; result is raw detail; input is the fixed calculation input. result_list, result_reading and result_goal describe these projections."
  2. Changed1 schema field changed
    • changedInput schema / properties / section / description
      Previous value: -"Use list to give a useful overview of the returned choices and scope first, without fetching all detail. When the user names a route or condition, directly read the relevant reading_ref/reading_sections without asking permission again. result_list describes the list projection; result_reading describes expanded detail. result is raw detail, input is the fixed calculation input."New value: +"status is progress; list is a lightweight overview of returned choices and scope; reading is expanded user-facing detail, opened through a returned reading_ref or reading_sections reference; result is raw detail; input is the fixed calculation input. result_list describes the list projection and result_reading describes expanded detail."
  3. Changed3 schema fields changed
    • changedInput schema / $defs / __schema1 / enum
      Previous value: -[
      -  "status",
      -  "input",
      -  "reading",
      -  "result"
      -]New value: +[
      +  "status",
      +  "input",
      +  "list",
      +  "reading",
      +  "result"
      +]
    • changedInput schema / properties / result_path / description
      Previous value: -"Empty string starts the overview. An inline entry already contains its complete value; follow reference paths only when their content is needed."New value: +"Empty string starts the overview. Copy each returned reading_ref or reading_sections reference section and path into section and result_path; reading_sections may target reading or result. detail_path belongs to raw result. Reset cursor when changing section or path. An inline entry is complete only within its selected projection."
    • changedInput schema / properties / section / description
      Previous value: -"Use reading for user explanations; its expanded logical content is described by the result_reading Schema. result is raw detail, input is the fixed calculation input."New value: +"Use list to give a useful overview of the returned choices and scope first, without fetching all detail. When the user names a route or condition, directly read the relevant reading_ref/reading_sections without asking permission again. result_list describes the list projection; result_reading describes expanded detail. result is raw detail, input is the fixed calculation input."
  4. Added

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already cover the safety profile, and the description layers on behavior they cannot express: a status read blocks up to ten seconds and returns retry_after_seconds, oversized values yield 413 result_value_too_large regardless of a smaller limit, missing definitions mean unread rather than empty, and authentication plus declared planning scope are required but never passed as arguments.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is front-loaded in the first sentence and the section enumeration is well structured, but the remainder is a dense run-on paragraph mixing pagination, error codes, auth and workflow advice. Several clauses are cryptic out of context ("Preserve distinct goals and unread pages", "Group independent reads of known paths in one tool round") and some content restates the schema.

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?

An output schema exists, so return values need not be explained, and the description still covers everything an agent needs before calling: pagination cursor rules, retry/poll behavior, error handling, reference resolution for shared records, and the auth constraint. Nothing material is missing for a complex, six-mode read tool.

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 43%, so the description must compensate, and it does for the hard parameters: it explains each section value, what goal_path is copied from, how result_path chains from reading branches, and that inline entries are complete only within their projection. It leaves dossier_id, calculation_id and limit under-explained despite a full paragraph otherwise, so not quite a 5.

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?

Names a specific verb and resource ("Read a saved planning calculation") and immediately enumerates the six projections of the section parameter, so the agent knows exactly what each call returns. The read-only framing distinguishes it from create_planning_calculation and list_planning_calculations without needing their schemas.

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?

Explicitly prescribes the calling sequence: start with section=list and result_path="", poll status with the same calculation_id until succeeded or failed, copy a returned reading_ref into section/result_path, and reset cursor when section, path or goal_path changes. It also states the negative case — reading never starts a new calculation — which routes creation elsewhere.

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