Skip to main content
Glama

Propose the final price

set_final_price

Trade only, for emergency or night jobs agreed as a price range. A final price inside the range is accepted automatically; a price above it needs the homeowner's approval through respond_final_price before sign-off.

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": {
      "job_id": "<job_id>",
      "final_minor": "<final_minor>"
    },
    "name": "set_final_price"
  }
}

Input Schema

NameRequiredDescriptionDefault
nonceNo
job_idYes
signatureNo
signed_atNo
final_minorYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

With annotations only declaring mutation-safety flags, the description adds real behavioral value by disclosing the branching outcome: in-range prices are auto-accepted, above-range prices require homeowner approval before sign-off. It omits signing/auth requirements implied by nonce and signature, and says nothing about idempotency or what a rejection returns.

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 scope restriction front-loaded before the conditional outcome. No filler, though the second sentence's clause ordering is slightly dense.

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?

No output schema exists, so the description should cover outcomes, and it does for the accept/escalate split. Remaining gaps are the undocumented signing parameters and the absence of stated auth or uniqueness requirements for a non-idempotent mutation.

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% across five parameters, and the description names no parameters at all. Only the concept of a 'final price' loosely maps to final_minor; the nonce, signature, and signed_at parameters—the ones an agent would most likely misuse—receive no explanation in either the schema or the description.

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 description establishes a specific action (setting a final price) constrained to trade-only emergency/night jobs agreed as a price range, and distinguishes behavior from the sibling respond_final_price. The verb is somewhat implicit ('A final price inside the range is accepted'), but an agent can tell what the tool accomplishes.

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 gives explicit preconditions: trade user only, emergency or night jobs, and an existing agreed price range. It also names the escalation path (respond_final_price) for the above-range case, though it doesn't state what to do when no price range was agreed.

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.