Skip to main content
Glama

Update confirmed planning facts

update_planning_profile
DestructiveIdempotent

Save the user’s explicit confirmed facts as structured changes at expected_revision. The client model interprets text/files; clarify ambiguous people, ownership or inferred facts before writing. When a field or record shape is unknown, use get_planning_schema_index and batch all needed references in get_planning_schema_definition.schema_refs with name=profile_patch; reuse definitions and included components already read at the same schema name/version, without mixing profile output and profile_patch input definitions. Schema discovery is not a prerequisite for every write. Save supported facts progressively without completing unrelated topics. A successful save already returns the revision and resource; fetch questions only when the next reply actually needs a new backend question, not as an automatic post-save check. Atomic changes may span people and topics. Objects merge; spouse:{} creates an empty spouse, spouse:null removes it without changing relationship status. Study, work and occupational goals are independent; explain recommendations and obtain user confirmation before saving them. Omitted fields remain unchanged; nullable facts accept null, empty string or empty array as unknown; valid zero and false are preserved; arrays replace the complete array, so read and preserve unrelated records and stable IDs. Returns the saved revision or explicit validation errors. 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": {
      "expected_revision": "<expected_revision>",
      "dossier_id": "<dossier_id>",
      "changes": "<changes>"
    },
    "name": "update_planning_profile"
  }
}

Input Schema

NameRequiredDescriptionDefault
changesYes
dossier_idYes
expected_revisionYes

Output Schema

NameRequiredDescriptionDefault
msgYes
codeYes
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

With annotations already declaring destructiveHint=true and idempotentHint=true, the description still adds substantial behavioral context: merge semantics for objects, spouse:{} vs spouse:null creating/removing, arrays replace wholesale (destroying unread records unless preserved), omitted fields unchanged, null/''/[] treated as unknown, and zero/false preserved. It also discloses auth requirements (authenticated One U Education account, declared planning scope, credentials never arguments) and the return contract. Minor gap: it doesn't explicitly describe expected_revision conflict/optimistic-concurrency failure beyond 'explicit validation errors'.

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?

The core action and the expected_revision contract are front-loaded, and nearly every sentence carries distinct operational information. It is dense to the point of being a wall of directives, with a few long multi-clause sentences that could be split for scanability, but there is little true filler.

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?

For a destructive, open-world patch tool with an opaque payload and no schema descriptions, the definition covers what an agent needs: how to discover unknown shapes, how changes merge, how to clear values, what is preserved, auth/scope prerequisites, and that success returns the saved revision while failures return explicit validation errors. Output schema exists, so return-value detail beyond that is unnecessary.

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% and `changes` is an untyped open object, so the description does most of the work: it defines patch semantics for the changes payload (merge, null removal, array replacement, null-as-unknown) far beyond what the schema conveys. `expected_revision` is tied to the write but its conflict behavior is only alluded to, and `dossier_id` is never mentioned, so it falls short of full compensation.

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 opening sentence gives a specific verb (save) and resource (the user's explicit confirmed facts as structured changes at expected_revision), and the surrounding text implicitly separates it from the read-side siblings get_planning_dossier, get_planning_schema_index and get_planning_schema_definition. An agent can tell this is the write path for confirmed facts without opening the schema.

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?

It states explicit when-to-use conditions and exclusions: clarify ambiguous or inferred facts before writing, 'Schema discovery is not a prerequisite for every write', batch schema_refs into get_planning_schema_definition only when a shape is unknown, and 'fetch questions only when the next reply actually needs a new backend question, not as an automatic post-save check'. It also names the sibling tools to route to for schema lookups and states the confirmation gate before saving recommendations.

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