Skip to main content
Glama

Create an estimate

create_estimate

Draft an estimate for a client. Give lines with prices, or — for a contracting business — price_from to price the job from the business's OWN completed work, rate card and markup (the same engine as estimate_job; with nothing to price from it is refused, never guessed). A line with an item and no unit_price is priced by the price rules; a line nothing can price is REFUSED, never $0.00 — ask the user. It is saved as a DRAFT: nothing is sent to the client, and the business may need to approve it before it can be. Usually queued for the account holder to approve (read staged).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "create_estimate"
  }
}

Input Schema

NameRequiredDescriptionDefault
memoNoInternal note on the estimate.
linesNo
titleNo
contractNoTerms, warranty or scope — part of what the client accepts.
entity_idNoAnother entity in the same books (ids from `list_entities`). Leave out to use the entity the person is working in.
price_fromNoContracting businesses only: price the job from their own past work and add it as lines.
customer_idNoThe client, from `list_customers`. Optional, but an estimate cannot be sent without one.
valid_untilNoISO date after which it can no longer be accepted.
deposit_percentNoA deposit invoiced when the client accepts. Default: the business's own setting.
message_to_clientNoPrinted above the lines and on the client's portal.

Output Schema

NameRequiredDescriptionDefault
idNoThe created or updated record's id, when the write was applied rather than staged.
noteNoWhy the result was truncated, when it was.
stagedNoTRUE means nothing has changed yet — the write is queued in the account holder's Approvals queue in Seayora. Say it is waiting for approval; never report it as done.
draft_idNoThe staged proposal's id, when it was queued rather than performed.
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

A4.6/5.0
Behavior5/5

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

Annotations only declare the mutation/safety profile; the description adds substantial behavior beyond them: the result is saved as a DRAFT, nothing is sent to the client, approval may be required, the record is usually queued for the account holder (read `staged`), and unpriced lines are refused rather than defaulted to $0.00. That is exactly the kind of consequence disclosure annotations cannot carry.

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 the two pricing paths, then the draft/approval consequence. Slightly repetitive in restating the refusal rule twice ('refused, never guessed' and 'REFUSED, never $0.00'), but every sentence carries operational information.

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 10-parameter, nested-object mutation tool with an output schema, the description covers the decision points an agent needs: which pricing path, what happens on unpriceable lines, and the draft/approval lifecycle including the `staged` field. Return values are covered by the output schema, so nothing essential is missing.

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 80%, so the baseline is 3, but the description adds real meaning: a line with an item and no `unit_price` is priced by the price rules, `price_from` prices from the business's own completed work/rate card/markup, and `customer_id` is optional yet required before an estimate can be sent. These are cross-parameter interactions the schema does not state.

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 and resource ('Draft an estimate for a client') and immediately scopes the two pricing modes, explicitly tying the price_from path to the sibling estimate_job ('the same engine as estimate_job'). An agent can distinguish this from estimate_job and update_estimate without opening a schema.

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 guidance: supply `lines` with prices, or use `price_from` for a contracting business; a line that cannot be priced is refused and the agent should ask the user. It does not explicitly say when to prefer this over update_estimate or invoice_estimate, so it stops short of full alternative routing.

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