Skip to main content
Glama
field-service-mcp

field-service-mcp

create_quote

Generate a draft quote for a customer from line items, with the field service system calculating the total. Use it to prepare pricing before a quote is finalized.

Instructions

Create a draft quote for a customer. The total is computed by the field service system.

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": {
      "customer_id": "<customer_id>",
      "line_items": "<line_items>"
    },
    "name": "create_quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idNo
line_itemsYes
customer_idYes

Output Schema

NameRequiredDescriptionDefault
idYes
totalYes
job_idNo
statusYes
created_atNo
line_itemsYes
customer_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare write (readOnlyHint=false), non-destructive, non-idempotent, open-world behavior. The description adds useful context beyond that: the result is a draft and the total is server-computed, so the agent should not supply totals. It does not mention permission requirements, what happens to the draft afterward, or duplicate-call behavior for a non-idempotent create.

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 tight sentences with the core action front-loaded and the second sentence adding non-obvious behavior rather than restating the name. No filler.

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 return values need not be explained. However, for a non-idempotent creation with a nested line-item array and 0% parameter documentation, the description leaves too much for the agent to infer about inputs and lifecycle.

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

Parameters2/5

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

Schema description coverage is 0% for three parameters, so the description must carry the load. It only hints at customer scoping and that totals are computed; it never explains customer_id, job_id (optional link to a job?), or the line_items array structure and its limits.

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 ('Create a draft quote') and adds the scoping qualifier 'for a customer'. The 'draft' qualifier distinguishes it from get_quote/list_quotes, but no sibling is named explicitly.

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?

Implies the create-a-quote use case but gives no explicit when-to-use vs alternatives, no prerequisites (does the customer or job need to exist first?), and no guidance on when a draft should later be finalized.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.