Skip to main content
Glama

Analyze Business Vertical

analyze_business_vertical
Read-onlyIdempotent

Use this immediately after scan_site to give the user a 'what this means for my business' framing. Detects the site's business vertical (auto dealership, law firm, healthcare, home services, ecommerce, digital agency, etc.) from JSON-LD schema + scraped text. Returns expected AI-search lift %, current competitor adoption %, and a positioning pitch tailored to the vertical. If should_ask_user is true, the detection is low-confidence — ASK THE USER what category their business is in before continuing, rather than acting on the guessed vertical. Also returns the site title and meta description so the calling agent can render a Site Summary card.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesSite URL. We fetch the page to detect the vertical.
business_typeNoOptional free-text of what the user says they are (e.g. 'pediatric dentist'). Resolved against the schema.org/GBP taxonomy → canonical schema_type, default actions, analytics, value band (returned as `genre`).
user_provided_vertical_idNoOptional. If the user has already told you their business category (e.g. 'digital_agency', 'healthcare_practice'), pass it here to skip auto-detection. Must match a known vertical id.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNo
genreNoTaxonomy profile: canonical schema_type + parent chain + default_actions to offer + per-genre analytics + value pricing band.
pitchNo
statusYes
messageNo
confidenceNo
site_titleNo
value_caseNoROI framing — how few new customers cover the $450 package. Surface value_case.message to the user so the value ≫ price is concrete.
vertical_idNo
vertical_labelNo
ask_user_promptNoSuggested wording for the calling agent to ask the user, when should_ask_user is true.
matched_signalsNo
should_ask_userNoTrue when confidence is low. The calling agent should ask the user to confirm the business category before recommending tools / pitching pricing.
humanFollowupUrlNoURL a calling agent can show its user for the human-rendered version of this tool's output.
site_descriptionNo
citation_examplesNo
candidate_verticalsNoList of all known vertical ids (id + label) — useful as a multiple-choice list when asking the user.
expected_lift_percentNo
competitor_adoption_percentNo

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already mark the tool as read-only, idempotent, and non-destructive. The description adds meaningful behavioral context beyond annotations: it fetches and scrapes the page, detects from structured data plus text, and includes a low-confidence branch that requires asking the user. No contradiction exists between description and annotations.

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?

The description is front-loaded with the most important usage instruction, then lists outputs and the critical conditional behavior. Every sentence adds distinct value, and the bolded low-confidence instruction is appropriately emphasized without unnecessary length.

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?

Given the output schema exists and the input schema is fully documented, the description is complete: it explains when to call it, what it does, what it returns, and how to handle low-confidence detections. An agent has everything needed to invoke it correctly.

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?

Input schema coverage is 100%, so the schema already documents all three parameters clearly. The description adds little parameter-specific meaning beyond what the schema states, though it does clarify the detection data sources. Baseline 3 is appropriate because the schema carries the parameter documentation burden.

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?

The description states a specific purpose: detect the site's business vertical from JSON-LD schema and scraped text, and frame it for the user's business. It also names concrete outputs (AI-search lift %, competitor adoption %, positioning pitch) and distinguishes the tool from scan_site by describing its post-scan analytical role.

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

Usage Guidelines5/5

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

The description explicitly says to use it immediately after scan_site, and gives a clear conditional: if should_ask_user is true, ask the user rather than acting on the guessed vertical. This provides strong when-to-use and when-not-to-continue guidance without ambiguity.

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.

TDQS

A4.3/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose, with descriptions that prevent confusion. Tools like scan_site and run_site_audit are differentiated by their focus on AI-readiness vs. site quality.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern in snake_case, with clear action words like 'scan', 'create', 'get', 'verify'. Even longer names like 'summarize_scan_for_humans' maintain consistency.

Tool Count4/5

22 tools is slightly above the ideal range but justified by the comprehensive scope of the server, covering scanning, analysis, quoting, file delivery, and verification. Some tools like generate_files and get_customer_files could overlap but serve different contexts.

Completeness5/5

The tool surface covers the entire workflow from site scanning to deployment verification, with no obvious dead ends. All necessary operations for making a site agent-ready are present, including edge cases like x402 validation and credential verification.