Skip to main content
Glama

Draft a quote

draft_quote

Use this when a contractor describes a job (what they saw on site, what needs doing, quantities) and wants an itemized quote. Builds the draft only from the contractor's own price book; lines with no match are flagged and left unpriced, never guessed. Side effects: saves a new draft quote in the contractor's FieldDraft account each time it is called (calling again creates another draft) and counts toward the account's monthly draft allowance. The description and any photo links are sent to FieldDraft's AI provider to produce the draft. Nothing is sent to the customer or to Jobber. Do not use for general pricing questions or for jobs the user has not described.

Input Schema

NameRequiredDescriptionDefault
photoUrlsNoPublic image URLs of the job site, only if the user shared them; they are fetched for the AI model
clientNameNoCustomer name if mentioned
jobDescriptionYesThe contractor's description of the job in their own words, including quantities and site conditions

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Beyond annotations, it discloses critical side effects: each call saves a new draft and counts toward the monthly allowance; description and photo links are sent to the AI provider; nothing is sent to the customer or Jobber; unmatched lines are flagged and never guessed. This is rich behavioral context that annotations alone do not provide.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The definition is front-loaded with usage guidance, followed by essential side effects and data-sharing details. Every sentence earns its place with no redundancy.

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?

For a write tool with no output schema, it covers side effects, data handling, and exclusions thoroughly. It does not explicitly describe the return value or what the draft object looks like, which is a minor gap given the absence of an output schema.

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%, so all parameters are documented in the schema. The description adds context about price-book matching and flagging, but does not provide parameter-specific syntax or examples beyond what the schema already states.

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?

The description states a specific verb+resource: 'Draft a quote' and 'builds the draft only from the contractor's own price book.' It clearly scopes the tool to jobs the contractor describes, distinguishing it from general pricing tools.

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?

It explicitly says when to use ('Use this when a contractor describes a job ... wants an itemized quote') and when not to use ('Do not use for general pricing questions or for jobs the user has not described'). However, it does not name specific alternative sibling tools like search_price_book for pricing questions.

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