Skip to main content
Glama

Get contractor

get_contractor
Read-onlyIdempotent

Get one contractor from The Roofing List by id. Returns nothing for a business that is closed or no longer listed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe contractor id from search_contractors.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
cityYes
nameYes
phoneYes
stateYes
ratingNoFrom reviews published on The Roofing List only. Absent when there are none.
tradesYes
claimedYes
websiteNoOnly present for claimed profiles.
profileUrlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds genuine value beyond that by disclosing the null-result semantics: nothing is returned for a closed or delisted business, which an agent could otherwise misread as an error. It does not go further (e.g., error vs empty distinction, auth requirements).

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?

Two short sentences, zero filler, with the core action front-loaded and the edge-case caveat second. Nothing to trim.

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?

With an output schema present, the description need not explain the returned record, and it correctly covers the empty-result case. The only gap is the absence of any usage/routing context relative to search_contractors, which would make it fully self-sufficient.

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?

Only one parameter and schema description coverage is 100%, so the schema already fully explains 'id' as coming from search_contractors. The description adds no syntax, format, or range detail beyond the schema, so the baseline 3 applies.

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 ('Get one contractor from The Roofing List by id'), which is clear and unambiguous. The singular 'one contractor ... by id' implicitly distinguishes it from the sibling search_contractors, but the description never names or contrasts with that sibling explicitly, so it falls short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use statement, no exclusions, and no named alternative (search_contractors is only referenced inside the schema's id parameter, not the description). Usage is only inferable from the phrase 'by id', which is thin guidance for a lookup tool.

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