Skip to main content
Glama

One inspection in full

get_inspection
Read-onlyIdempotent

One inspection with every room and item, its condition, whether the tenant was held responsible, the estimated cost and the photo evidence. On the owner side an item may carry ai, the automatic photo review: one sentence on what its photos appear to show, never the cause or the cost, with worth_a_look when they appear to show damage the report does not record. ai_review.state says how far it got — off means no engine could read the photos, never that nothing was found. It is a reading aid and not part of the report: never present it as a condition, a finding or a charge.

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": {
      "inspection_id": "<inspection_id>"
    },
    "name": "get_inspection"
  }
}

Input Schema

NameRequiredDescriptionDefault
inspection_idYes

Output Schema

NameRequiredDescriptionDefault
noteNoWhy the result was truncated, when it was.
truncatedNoPresent and true when the result was too large to return in full. Treat it as a partial answer.
total_availableNoHow many rows existed before truncation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior4/5

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

Annotations already establish readOnly, idempotent, non-destructive, closed-world, so the bar is lower; the description nonetheless adds real behavioral context beyond them. It discloses that on the owner side an item may carry an `ai` block, what that block does and does not contain (never the cause or cost), and how to read `ai_review.state` = off (no engine could read the photos, not 'nothing found'). It stops short of stating error behavior for a missing inspection or any permission scope.

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?

The opening sentence is well front-loaded and informative, but roughly two-thirds of the text is devoted to the optional owner-side `ai` field, which is disproportionate for a simple single-record fetch. The sentences are dense but each is coherent; the imbalance, not verbosity, is the issue.

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 the description is not obliged to enumerate return values, and the interpretive caveats around `ai` genuinely extend beyond the schema. However, for a one-parameter detail tool it leaves the argument undocumented and omits any statement about failure modes or whether the caller must own the inspection.

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

Parameters3/5

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

The single parameter `inspection_id` has 0% schema description coverage, so the description would need to compensate, and it does not explain the argument at all — only that the result is 'one inspection'. The integer id is largely self-evident from the name, so the practical cost is small, but no format or sourcing guidance is added.

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?

The first sentence names the resource and enumerates what 'in full' means: every room and item, condition, tenant responsibility, estimated cost, photo evidence. That is a specific retrieval verb+resource. It does not, however, contrast itself with siblings such as get_work_order or get_property, so the agent must infer that this is the single-inspection detail call.

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

Usage Guidelines2/5

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

There is no explicit when-to-use guidance: nothing says when to call this versus a list/summary sibling, nor any prerequisite (e.g. needing an inspection_id from another call). The only usage-like instruction concerns how to present the `ai` field in the answer, not when to select the tool.

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