Skip to main content
Glama

Get a report (with optional sections)

get_report
Read-only

Fetch one report by id. Use include to inline sub-blocks in a single response, e.g. ["pricing","aircraft","components","inspection","appraiser","client","contents"]. Use only ["print_preflight"] for an owner/admin-only read-only eligibility check returning booleans and an opaque reference, with no report data or token/render/write action.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
includeNo
report_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYes
metaYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • removedOutput schema / properties / data / additionalProperties
      Removed value: -true
    • addedOutput schema / properties / data / anyOf
      Added value: +[
      +  {
      +    "additionalProperties": true,
      +    "properties": {
      +      "aircraft": {
      +        "additionalProperties": true,
      +        "properties": {
      +          "make": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "make_model_id": {
      +            "type": [
      +              "integer",
      +              "null"
      +            ]
      +          },
      +          "model": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "registration": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "year": {
      +            "type": [
      +              "integer",
      +              "null"
      +            ]
      +          }
      +        },
      +        "type": [
      +          "object",
      +          "null"
      +        ]
      +      },
      +      "aircraft_detail": {
      +        "additionalProperties": true,
      +        "description": "Present when include=aircraft.",
      +        "type": [
      +          "object",
      +          "null"
      +        ]
      +      },
      +      "appraiser": {
      +        "additionalProperties": true,
      +        "description": "Present when include=appraiser.",
      +        "type": [
      +          "object",
      +          "null"
      +        ]
      +      },
      +      "client": {
      +        "additionalProperties": true,
      +        "description": "Present when include=client.",
      +        "type": [
      +          "object",
      +          "null"
      +        ]
      +      },
      +      "components": {
      +        "additionalProperties": true,
      +        "description": "Present when include=components.",
      +        "type": [
      +          "object",
      +          "null"
      +        ]
      +      },
      +      "contents": {
      +        "additionalProperties": true,
      +        "description": "Present when include=contents.",
      +        "type": [
      +          "object",
      +          "null"
      +        ]
      +      },
      +      "created_at": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "generation_deferred_until": {
      +        "description": "Present only while PDF rendering is rescheduled because every renderer was busy: when the deferred render is due. The report is queued, not stuck.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "has_logbook_review": {
      +        "description": "DEPRECATED alias of has_logbook_review_addon; misleadingly named. Prefer has_logbook_review_addon.",
      +        "type": [
      +          "boolean",
      +          "null"
      +        ]
      +      },
      +      "has_logbook_review_addon": {
      +        "description": "Whether the logbook-review ADD-ON was purchased. An entitlement — it does NOT mean logbook analysis exists. Use logbook_files_processed for that.",
      +        "type": [
      +          "boolean",
      +          "null"
      +        ]
      +      },
      +      "inspection": {
      +        "additionalProperties": true,
      +        "description": "Present when include=inspection.",
      +        "type": [
      +          "object",
      +          "null"
      +        ]
      +      },
      +      "logbook_files_processed": {
      +        "type": [
      +          "boolean",
      +          "null"
      +        ]
      +      },
      +      "pricing": {
      +        "additionalProperties": true,
      +        "description": "Present when include=pricing.",
      +        "type": [
      +          "object",
      +          "null"
      +        ]
      +      },
      +      "report_id": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "report_status": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "report_title": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "report_type": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "retry_after_seconds": {
      +        "description": "Present with generation_deferred_until: seconds until it is worth polling again.",
      +        "type": [
      +          "integer",
      +          "null"
      +        ]
      +      },
      +      "updated_at": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "report_id",
      +      "report_status"
      +    ],
      +    "type": [
      +      "object",
      +      "null"
      +    ]
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "base_version_resolved": {
      +        "type": [
      +          "boolean",
      +          "null"
      +        ]
      +      },
      +      "caller_is_owner": {
      +        "type": [
      +          "boolean",
      +          "null"
      +        ]
      +      },
      +      "completed_valuation": {
      +        "type": [
      +          "boolean",
      +          "null"
      +        ]
      +      },
      +      "evidence_reference": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "fixture_preflight_passed": {
      +        "type": [
      +          "boolean",
      +          "null"
      +        ]
      +      },
      +      "historical_snapshot_complete": {
      +        "type": [
      +          "boolean",
      +          "null"
      +        ]
      +      },
      +      "owner_account_present": {
      +        "type": [
      +          "boolean",
      +          "null"
      +        ]
      +      },
      +      "production_authorized": {
      +        "const": false,
      +        "type": [
      +          "boolean",
      +          "null"
      +        ]
      +      },
      +      "stored_pdf_header_valid": {
      +        "type": [
      +          "boolean",
      +          "null"
      +        ]
      +      },
      +      "stored_pdf_time_available": {
      +        "type": [
      +          "boolean",
      +          "null"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "evidence_reference",
      +      "caller_is_owner",
      +      "owner_account_present",
      +      "completed_valuation",
      +      "base_version_resolved",
      +      "stored_pdf_header_valid",
      +      "stored_pdf_time_available",
      +      "historical_snapshot_complete",
      +      "fixture_preflight_passed",
      +      "production_authorized"
      +    ],
      +    "type": [
      +      "object",
      +      "null"
      +    ]
      +  }
      +]
    • removedOutput schema / properties / data / properties
      Removed value: -{
      -  "aircraft": {
      -    "additionalProperties": true,
      -    "properties": {
      -      "make": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "make_model_id": {
      -        "type": [
      -          "integer",
      -          "null"
      -        ]
      -      },
      -      "model": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "registration": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "year": {
      -        "type": [
      -          "integer",
      -          "null"
      -        ]
      -      }
      -    },
      -    "type": [
      -      "object",
      -      "null"
      -    ]
      -  },
      -  "aircraft_detail": {
      -    "additionalProperties": true,
      -    "description": "Present when include=aircraft.",
      -    "type": [
      -      "object",
      -      "null"
      -    ]
      -  },
      -  "appraiser": {
      -    "additionalProperties": true,
      -    "description": "Present when include=appraiser.",
      -    "type": [
      -      "object",
      -      "null"
      -    ]
      -  },
      -  "client": {
      -    "additionalProperties": true,
      -    "description": "Present when include=client.",
      -    "type": [
      -      "object",
      -      "null"
      -    ]
      -  },
      -  "components": {
      -    "additionalProperties": true,
      -    "description": "Present when include=components.",
      -    "type": [
      -      "object",
      -      "null"
      -    ]
      -  },
      -  "contents": {
      -    "additionalProperties": true,
      -    "description": "Present when include=contents.",
      -    "type": [
      -      "object",
      -      "null"
      -    ]
      -  },
      -  "created_at": {
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "generation_deferred_until": {
      -    "description": "Present only while PDF rendering is rescheduled because every renderer was busy: when the deferred render is due. The report is queued, not stuck.",
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "has_logbook_review": {
      -    "description": "DEPRECATED alias of has_logbook_review_addon; misleadingly named. Prefer has_logbook_review_addon.",
      -    "type": [
      -      "boolean",
      -      "null"
      -    ]
      -  },
      -  "has_logbook_review_addon": {
      -    "description": "Whether the logbook-review ADD-ON was purchased. An entitlement — it does NOT mean logbook analysis exists. Use logbook_files_processed for that.",
      -    "type": [
      -      "boolean",
      -      "null"
      -    ]
      -  },
      -  "inspection": {
      -    "additionalProperties": true,
      -    "description": "Present when include=inspection.",
      -    "type": [
      -      "object",
      -      "null"
      -    ]
      -  },
      -  "logbook_files_processed": {
      -    "type": [
      -      "boolean",
      -      "null"
      -    ]
      -  },
      -  "pricing": {
      -    "additionalProperties": true,
      -    "description": "Present when include=pricing.",
      -    "type": [
      -      "object",
      -      "null"
      -    ]
      -  },
      -  "report_id": {
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "report_status": {
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "report_title": {
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "report_type": {
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "retry_after_seconds": {
      -    "description": "Present with generation_deferred_until: seconds until it is worth polling again.",
      -    "type": [
      -      "integer",
      -      "null"
      -    ]
      -  },
      -  "updated_at": {
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  }
      -}
    • removedOutput schema / properties / data / required
      Removed value: -[
      -  "report_id",
      -  "report_status"
      -]
  2. Changed2 schema fields changed
    • addedOutput schema / properties / data / properties / generation_deferred_until
      Added value: +{
      +  "description": "Present only while PDF rendering is rescheduled because every renderer was busy: when the deferred render is due. The report is queued, not stuck.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / data / properties / retry_after_seconds
      Added value: +{
      +  "description": "Present with generation_deferred_until: seconds until it is worth polling again.",
      +  "type": [
      +    "integer",
      +    "null"
      +  ]
      +}
  3. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly/destructive/openWorld, so the bar is lower, yet the description adds real context: the print_preflight mode is owner/admin-only, returns booleans plus an opaque reference, and performs no report data, token, render, or write action. That auth requirement and return-shape note is genuinely beyond the annotations.

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?

Two sentences, core purpose front-loaded, and the special-case mode is clearly segmented. The second sentence is dense but every clause (auth scope, return type, side-effect disclaimer) earns its place.

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

Completeness4/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 needn't be spelled out, and the description covers the two meaningful invocation modes plus the include options. It is complete enough for an agent to call correctly, with only minor gaps in block-value exhaustiveness.

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 description coverage is 0%, so the description must carry the burden. It does so for `include` by enumerating valid block values and the special print_preflight value, though it leaves `report_id` as just 'by id' and the block list is presented as an example rather than exhaustively.

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

Purpose4/5

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

States a specific verb and resource ('Fetch one report by id'), which distinguishes it from sibling list/search tools like search_reports and list_portfolio_reports. It does not name an alternative sibling explicitly, so it stops short of a 5.

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 conditional usage: use `include` to inline sub-blocks in a single call, and use only ['print_preflight'] for an owner/admin eligibility check. This tells the agent when to pick each mode, though it never names the sibling tools (get_report_section, get_report_download_link) an agent might otherwise reach for.

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.