Skip to main content
Glama

Set the contractor's fence pricing

set_fence_pricing
DestructiveIdempotent

Loads the contractor's price list. Rates are dollars per linear foot by material, then style, then height ("4 ft", "6 ft", "8 ft"). Gates are flat surcharges. Ask the contractor for real numbers; never invent them. Replaces the whole fence catalog each call. Requires org_id and setup_claim from create_contractor_account.

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": {
      "org_id": "<org_id>",
      "setup_claim": "<setup_claim>",
      "fences": "<fences>"
    },
    "name": "set_fence_pricing"
  }
}

Input Schema

NameRequiredDescriptionDefault
fencesYesmaterial -> style -> height ("6 ft") -> dollars per linear foot
org_idYes
setup_claimYes
require_phoneNoRequire the homeowner's phone number; default true
gate_double_usdNoFlat surcharge per double gate
gate_single_usdNoFlat surcharge per single gate
removal_per_ft_usdNoOld-fence removal, per linear foot; omit to leave unchanged

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=true; the description earns credit by explaining what is destroyed, namely the entire fence catalog on every call, so an agent knows a partial payload wipes existing rates. It also surfaces the auth dependency (org_id plus setup_claim from create_contractor_account). It does not describe the response or what happens on validation failure.

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?

Six short sentences with no filler, ordered from what the tool does, to data shape, to data-sourcing rule, to destructive scope, to prerequisites. The most consequential fact, full replacement, is stated before the auth requirements so it is not buried.

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 7-parameter, deeply nested, destructive write tool with no output schema, the description covers purpose, data shape, sourcing rule, replacement semantics, and prerequisites. The only gaps are return behavior and error/validation handling, which are minor given there is no output schema to document.

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?

At 71% schema coverage the description still adds real meaning: it spells out the nested key order (material, then style, then height) and supplies the accepted height string format ('4 ft', '6 ft', '8 ft'), plus clarifying that gate_single_usd and gate_double_usd are flat surcharges rather than per-foot rates. It says nothing about require_phone or removal_per_ft, leaving those to the schema.

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 action and resource: loads the contractor's fence price list, organized as material -> style -> height in dollars per linear foot, with flat gate surcharges. The closing line 'Replaces the whole fence catalog each call' makes the scope unambiguous and separates it from the sibling set_rental_pricing without needing to name it.

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 a clear operating rule ('Ask the contractor for real numbers; never invent them') and states the prerequisite chain: org_id and setup_claim come from create_contractor_account. It stops short of naming an alternative tool or an explicit when-not condition, so an agent must infer that this is the fence-pricing path rather than the rental or branding path.

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