Skip to main content
Glama

Correct the facts on a portfolio aircraft

update_portfolio_aircraft

Change what is on file about one aircraft in a portfolio you own, whether it is still in the portfolio or has left it. Send only what changes. On an aircraft still in the portfolio, facts the valuation depends on (tail, year, hours, engine times, condition, location, the date it came in) re-price its history, which takes a minute or two (repricing is true in the reply). On one that has left, every change is recorded, and one that would have moved its value history (those facts, or an exit moved later) has that history priced again in place, up to the day it left: the reply says repricing and value_history_stale, and list_portfolio_archived_aircraft shows value_history_stale false once the new values are in (a minute or two). The entry price, asking price, notes and the exit facts (why it left, when, for how much) never affect values. Exit facts apply only to an aircraft that has left. This does not change an aircraft's make and model, and does not add, archive, restore or delete aircraft. Confirm the change with the user before calling.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
afttNoAirframe total time, hours.
yearNoModel year.
notesNoFree-text notes on the aircraft.
reg_noNoTail number, e.g. "N7571T".
smoh_1NoEngine 1 hours since major overhaul.
smoh_2NoEngine 2 hours since major overhaul (twins).
line_idYesFrom list_portfolio_aircraft or list_portfolio_archived_aircraft.
exit_dateNoArchived aircraft only: YYYY-MM-DD it left.
exit_noteNoArchived aircraft only: a note on the exit. An empty string clears it.
listed_onNoYYYY-MM-DD it was listed for sale.
exit_valueNoArchived aircraft only: USD it left for (the sale price, or the last asking price).
exit_reasonNoArchived aircraft only: why it left.
asking_priceNoCurrent (or last) asking price, USD.
location_textNoWhere it is based, e.g. "Portland, OR".
acquisition_dateNoYYYY-MM-DD: the day it came into the portfolio (bought, financed, or listed for sale).
exterior_qualityNoExterior condition, a grade from 1 (worst) to 10 (like-new). A fraction below 1 is read on the legacy 0–1 scale.
interior_qualityNoInterior condition, a grade from 1 (worst) to 10 (like-new). A fraction below 1 is read on the legacy 0–1 scale.
acquisition_valueNoUSD it came in at: the purchase price, or for an aircraft listed for sale the first asking price.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYes
metaYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / exterior_quality / description
      Previous value: -"Exterior condition, 1–10 (10 = like-new). Caution: values <= 1 are read on the legacy 0–1 scale, so a literal 1 means like-new, NOT the worst grade — send 0.1 for the worst."New value: +"Exterior condition, a grade from 1 (worst) to 10 (like-new). A fraction below 1 is read on the legacy 0–1 scale."
    • changedInput schema / properties / interior_quality / description
      Previous value: -"Interior condition, 1–10 (10 = like-new). Caution: values <= 1 are read on the legacy 0–1 scale, so a literal 1 means like-new, NOT the worst grade — send 0.1 for the worst."New value: +"Interior condition, a grade from 1 (worst) to 10 (like-new). A fraction below 1 is read on the legacy 0–1 scale."
  2. Changed2 schema fields changed
    • changedOutput schema / properties / data / properties / repricing / description
      Previous value: -"A held aircraft is being valued again; values settle in a minute or two."New value: +"The aircraft is being valued again; values settle in a minute or two."
    • changedOutput schema / properties / data / properties / value_history_stale / description
      Previous value: -"An archived aircraft's value history predates this correction."New value: +"An archived aircraft's value history predates this correction until the re-valuing lands."
  3. Added

TDQS

A4.6/5.0
Behavior5/5

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

With destructiveHint=false but a write operation, the description carries rich context beyond the annotations: which facts trigger repricing, that repricing takes a minute or two, that the reply signals 'repricing', and that value_history_stale on a related list flips false once values post. It also states plainly which fields never affect value and that exit fields are inert for in-portfolio aircraft. This is exactly the operational transparency the annotations do not supply.

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?

Front-loaded with the core action and scoping before the repricing detail. It is long (18 params justify some length), but the repricing/timing point is made twice ('a minute or two' recurs), which is mild redundancy against an otherwise dense, informative block.

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 high-complexity 18-parameter mutation tool with an output schema present, the description covers both operating modes, the repricing side effect and its latency, the reply flags, and how to verify completion via list_portfolio_archived_aircraft. Nothing an agent needs to invoke and interpret the call correctly is missing, and return-value detail is rightly left to the output schema.

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 100%, so per-field syntax is already documented and a 3 would be the floor. The description adds a semantic grouping the schema lacks: it enumerates the value-driving fields (tail, year, hours, engine times, condition, location, acquisition date, exit date shift) versus the values-neutral ones (entry price, asking price, notes, exit facts), which is decision-relevant for how a caller batches edits.

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?

States a specific verb+resource ('Correct the facts on a portfolio aircraft', 'Change what is on file about one aircraft') and explicitly bounds the scope: no make/model changes and no add/archive/restore/delete. It also distinguishes the two operating modes (still in portfolio vs. made its exit), so an agent can tell it apart from siblings like list_portfolio_aircraft or get_portfolio_aircraft.

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 clear prerequisites ('Send only what changes', line_id sourced from list_portfolio_aircraft or list_portfolio_archived_aircraft) and a procedural rule ('Confirm the change with the user before calling'). It notes the exit-fact fields apply only to an aircraft that has left, which prevents misuse. It does not name a competing update tool or state when not to use this one, so it stops short of a full when/when-not statement.

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.