Skip to main content
Glama

update flight

update_flight
Idempotent

update flight. Classification: writes to Studio. Execution: durable. Task support: optional. Mutation modes: validate_only, preview_only, execute. Partial failure policy: completed_items_not_rolled_back. The returned JSON is internal application state for LeanrIQ and ChatGPT orchestration. Use assistantSummary first when responding to the user. Never display raw JSON, data, or meta unless the user explicitly asks for raw JSON. Mention IDs only when useful for follow-up or debugging. Prefer concise, human language, highlight the most useful insight, and suggest the next best LeanrIQ action. If idempotencyKey is omitted on a mutation, the MCP layer derives a deterministic retry key from the tool and business arguments so an accidental identical replay cannot create duplicate work. For a mutation when more than one seat is authorised, seatId or seatName must be supplied on that exact tool call; a remembered or previously selected seat is not sufficient for a write.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNo
dryRunNo
seatIdNo
flightIdYes
platformNo
seatNameNo
accountIdNo
approvalIdNo
campaignIdNo
advertiserIdNo
idempotencyKeyNo
thirdPartyTagsNo
creativeConfigsNo
expectedVersionNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYes
metaYes
errorNo
statusYes
assistantSummaryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / creativeConfigs / items / properties / thirdPartyTags
      Added value: +{
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "creativeId": {
      +        "maxLength": 240,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "name": {
      +        "maxLength": 240,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "tag": {
      +        "maxLength": 12000,
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "tag"
      +    ],
      +    "type": "object"
      +  },
      +  "maxItems": 3,
      +  "type": "array"
      +}
    • addedInput schema / properties / thirdPartyTags
      Added value: +{
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "creativeId": {
      +        "maxLength": 240,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "name": {
      +        "maxLength": 240,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "tag": {
      +        "maxLength": 12000,
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "tag"
      +    ],
      +    "type": "object"
      +  },
      +  "maxItems": 3,
      +  "type": "array"
      +}
  2. First observed

TDQS

B3.1/5.0
Behavior4/5

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

Annotations already cover safety (readOnlyHint=false, destructiveHint=false, idempotentHint=true), but the description adds genuinely useful behavior: durable execution, a partial-failure policy of 'completed_items_not_rolled_back', deterministic idempotency-key derivation on omitted keys, and the hard requirement that seatId/seatName be supplied on the exact write call. It omits concurrency behavior around expectedVersion, which is a notable gap for a write tool.

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?

Front-loads mutation classification and execution semantics, which is good, but the first sentence is pure tautology and the block of assistantSummary/raw-JSON display rules reads as reusable boilerplate rather than tool-specific guidance. It is not bloated to the point of harm, but several sentences would apply equally to any tool in this server.

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

Completeness3/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 no explanation, and the description does cover the write-guardrails an agent must respect before calling. Given 14 parameters, nested creative config arrays, and 0% schema coverage, however, the parameter side is substantially under-specified for a tool of this complexity.

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

Parameters2/5

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

Schema description coverage is 0% across 14 parameters, and the description only explains two of them (idempotencyKey derivation and seatId/seatName). Nothing is said about flightId, name, expectedVersion, dryRun, or the creatives/thirdPartyTags payloads, so the definition leaves most parameters undocumented in both places.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening 'update flight' essentially restates the tool name, and the description never says what about a flight can be updated or what the scope of the write is. The classification line ('writes to Studio') and mutation modes vaguely imply a mutating flight operation, but nothing distinguishes it from validate_flight, create_flight, or traffick_flight, all of which appear as siblings.

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

Usage Guidelines3/5

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

Mutation modes (validate_only, preview_only, execute) and the seat-authorisation rule imply when the tool is appropriate, and the seat rule is a concrete precondition. However, there is no explicit direction on when to choose update_flight over validate_flight or delete_flight, and no stated exclusions.

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