Skip to main content
Glama

Create a contractor account

create_contractor_account

Creates a GroundQuote account for a fence contractor and emails the contractor a link to set their own password (the email includes the pricing terms). Nothing is charged; no card is required. Returns org_id, slug, the embed snippet, terms_summary, and a setup_claim you must keep and pass to set_fence_pricing, set_branding, set_hosted_page, get_embed_code, check_account_status and resend_setup_email. Confirm the contractor has heard the pricing terms before calling. Use the contractor's own email as owner_email.

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": {
      "company_name": "<company_name>",
      "owner_email": "<owner_email>",
      "owner_name": "<owner_name>",
      "phone": "<phone>",
      "terms_relayed": "<terms_relayed>"
    },
    "name": "create_contractor_account"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityNo
phoneYesThe contractor's phone number
stateNoTwo-letter US state
owner_nameYesThe contractor's name
owner_emailYesThe contractor's own email. They receive the set-password link; only they can unlock leads.
website_urlNoTheir website, if they have one
company_nameYesThe contractor's business name as it should appear to homeowners
terms_relayedYesMust be true: you have told the contractor the pricing terms from get_pricing_terms

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only declare the generic write/open-world/non-idempotent profile; the description adds the concrete consequences: an email is sent to the contractor containing pricing terms, nothing is charged and no card is required, and the returned setup_claim is required by six named follow-up tools. It also names the return payload, which no output schema provides.

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?

Front-loads what the tool does, then cost/side-effect, then return values, then the setup_claim contract, then preconditions. The long list of consuming tools is functional information rather than padding; no sentence is redundant.

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 an 8-parameter mutation with no output schema and open-world annotation, the description covers the side effect, the cost model, the returned fields, and how the returned handle must be reused downstream. An agent has everything needed to call it correctly and to plan the follow-up sequence.

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 coverage is 88%, so the schema already documents nearly every parameter, and 'Use the contractor's own email as owner_email' largely restates the existing owner_email description. The one genuine addition is the framing of terms_relayed as a gating confirmation, but that too is already described in the schema. Baseline 3 applies.

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 ('Creates a GroundQuote account for a fence contractor') plus the side effect (emails a set-password link with pricing terms). This clearly separates it from sibling operations like check_account_status, resend_setup_email, and the set_* configuration 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?

Gives an explicit precondition ('Confirm the contractor has heard the pricing terms before calling') and a routing rule for the owner_email parameter. It also tells the agent which downstream tools consume the returned setup_claim. It stops short of stating the negative case (e.g., don't call this for a contractor who already has an account — use check_account_status instead), so not a full 5.

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