Skip to main content
Glama

CertLocal

Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as CertLocal. If you published it, claim ownership there.

Look up a business's latest audit ID and report URL

get_business_latest_audit

Find a registered business by businessId, domain, website URL, or company name (with optional city disambiguator), or list businesses needing backfill via genericOnly=true / categoryFilter, and return its latestAuditId, live shareable reportUrl (/r/), latestAudit summary, inFlightAudit if a re-run is queued/running, and optional audit history. Works when the business has 0, 1, or multiple audits. Requires an API key.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_business_latest_audit"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityNoOptional city filter to disambiguate businesses with the same domain or name
nameNoBusiness name (case/punctuation/Ltd-insensitive, e.g. 'Capital Roofing Services')
limitNoMax businesses returned when genericOnly or categoryFilter is set (1–200, default 50)
domainNoBare domain or homepage URL (e.g. 'probuildcontractsltd.com' or 'https://www.probuildcontractsltd.com')
websiteNoAlias for domain — homepage URL or bare domain
businessIdNoExact business ID (e.g. biz_...)
genericOnlyNoList registered businesses still stored with a generic category (e.g. 'local business') or generic benchmark prompts
categoryFilterNoOptional exact category filter when listing businesses
includeHistoryNoInclude up to 20 recent audits for the business (default false)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full load, and it does meaningful work: it states the API key requirement, discloses that the tool behaves correctly for 0, 1, or multiple audits, and surfaces the inFlightAudit state when a re-run is queued or running. It omits what happens when no business matches (empty result vs. error) and any pagination or rate-limit behavior.

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?

The lookup or list dichotomy is front-loaded and every clause maps to either a parameter mode or a return field, so there is little waste. The downside is that it is delivered as one long run-on sentence, which makes the mode split harder to scan than two short paragraphs would.

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 nine parameters, no required fields, no annotations, and no output schema, the description is the only place return values can be documented, and it does so concretely, including the /r/<auditId> URL shape. Remaining gaps are modest: the no-match behavior and the interaction between list mode and limit are left unstated.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds genuine meaning the schema cannot express: that genericOnly and categoryFilter switch the tool into a listing mode rather than a single-business lookup, and that city exists specifically to disambiguate same-name/same-domain businesses. It does not clarify the interaction between limit and the lookup mode, which the schema leaves implicit.

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 names a specific verb and resource (find a registered business, or list businesses needing backfill) and enumerates exactly what is returned: latestAuditId, reportUrl, latestAudit, inFlightAudit, and optional history. It never distinguishes itself from the closest sibling, get_audit_report, so an agent still has to guess which of the two to open for report retrieval.

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?

Usage is implied through the parameter modes: identifier fields for a single lookup, genericOnly=true / categoryFilter for a backfill listing, and city for disambiguation. There is no explicit when-not-to-use guidance and no named alternative, so an agent comparing this against get_audit_report or register_business receives no routing instruction.

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