Skip to main content
Glama

LesiAI Audit

diagnose_ecommerce

Diagnose an e-commerce page for AI shopping visibility. Use this when the user asks why AI or shopping assistants cannot understand a product page. Returns platform detection, Product/Offer schema gaps, buyer-intent gaps and fixes. Read-only.

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": {
      "domain": "<domain>"
    },
    "name": "diagnose_ecommerce"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoOutput language.
domainYesProduct page URL or domain, for example shop.example.com/products/abc
marketplaceNoOptional marketplace hint. Omit to auto-detect.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does part of it well: it declares "Read-only" and enumerates what the run surfaces (platform detection, Product/Offer schema gaps, buyer-intent gaps, fixes). It omits auth requirements, cost/rate limits, and failure behavior, so not complete.

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?

Three tight sentences: what it does, when to invoke it, and what it returns plus safety profile. Front-loaded and no wasted wording.

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 three-parameter read operation, the definition covers purpose, trigger, and result shape, and the schema fully documents the inputs. The absence of an output schema is compensated by the enumerated return contents; only error/auth behavior is left unspecified.

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 description coverage is 100%, with domain, lang, and marketplace all documented including enum values and auto-detect behavior, so the description needn't restate them. It adds nothing beyond that, which is appropriate for full coverage but warrants only the baseline score.

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: "Diagnose an e-commerce page for AI shopping visibility." It clearly scopes to product/e-commerce pages and AI visibility, which separates it in spirit from the sibling audit_website_details/audit_website_score tools, though it never names those siblings explicitly.

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 concrete trigger: "Use this when the user asks why AI or shopping assistants cannot understand a product page." That is clear context for selection, but it offers no exclusions or direct pointer to the sibling audit tools, so an agent must infer when to prefer those.

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