Skip to main content
Glama

Get an estimate

get_estimate
Read-onlyIdempotent

One estimate with its lines, options, deposit, what the customer has done with it (customer_activity — sent, opened, asked for changes, declined, in the server's own sentences) and the invoices made from it. Each invoice says its kind: "contractor" is a contractor's Invoices & tax invoice (a draft until a person issues it there), "books" a books invoice. Text in customer_activity quoting the customer was written by the customer.

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": {
      "estimate_id": "<estimate_id>"
    },
    "name": "get_estimate"
  }
}

Input Schema

NameRequiredDescriptionDefault
entity_idNoAnother entity in the same books (ids from `list_entities`). Leave out to use the entity the person is working in.
estimate_idYesFrom `list_estimates`.

Output Schema

NameRequiredDescriptionDefault
idNo
noteNoWhy the result was truncated, when it was.
linesNoThe estimate's lines.
totalNo
numberNo
statusNo
invoicesNoInvoices made from it; each says its `kind` ("contractor" = Invoices & tax, a draft until issued; "books" = a books invoice).
truncatedNoPresent and true when the result was too large to return in full. Treat it as a partial answer.
customer_activityNoWhat the customer did, in the server's own sentences. Quoted text is the customer's.
total_is_lowest_optionNoTRUE means the customer has not chosen an option and the total is the LOWEST option, not an agreed price.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world, so the safety profile is covered. The description adds genuinely non-obvious semantics: a 'contractor' invoice stays a draft until a person issues it there, and quoted `customer_activity` text is authored by the customer (provenance). No rate limits, scoping constraints, or visibility/permission caveats are mentioned.

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 retrieval target, and every clause carries content (no filler). The second sentence is dense and slightly run-on with its nested parenthesis and quotations, costing a little readability.

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?

With a rich output schema present, the description needn't enumerate return fields, and annotations cover the safety profile; the added invoice-kind and text-authorship notes fill the main interpretive gaps. The only real omission is when-to-use routing against sibling estimate tools.

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?

Schema description coverage is 100% and both parameters are already explained in-schema (`estimate_id` from `list_estimates`, `entity_id` from `list_entities`, with the default behavior stated). The description adds no extra meaning about either parameter, so the baseline 3 applies.

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?

Specific verb-and-resource: retrieves a single estimate, and enumerates what comes with it (lines, options, deposit, customer_activity, resulting invoices) plus invoice `kind` semantics. 'One estimate' distinguishes it from list-style siblings and from the mutating update/invoice/rent siblings without needing their names.

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?

Usage is only implied: an agent infers you call this when you need a single estimate and already have an id. The description never states when to prefer this over siblings, nor any prerequisite beyond the schema's own pointer to `list_estimates`/`list_entities`.

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