Skip to main content
Glama

Read a website's AI agent

get_ai_agent
Read-only

The AI agent of a website (available: false when the account cannot use it): it answers visitors in the chat bubble from what it knows about the site, and hands the conversation to the team when it cannot help or the visitor asks for a human. Returns enabled, active, source_url (the one address it reads: the site, its sitemap or a Google Merchant product feed; Shopify and WooCommerce catalogs are found on their own), instructions (the owner's notes), knowledge (pages, products, refreshed_at, refreshing, error, preview) and this month's quota (used, limit).

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": {
      "site_id": "<site_id>"
    },
    "name": "get_ai_agent"
  }
}

Input Schema

NameRequiredDescriptionDefault
site_idYesThe site's id (see list_sites).

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 cover readOnly/openWorld/destructive, and the description goes beyond them by disclosing the availability edge case (available: false for accounts without the feature), the automatic catalog discovery behaviour for Shopify/WooCommerce, and the single-address ingestion model including Google Merchant feeds and sitemaps. It doesn't discuss permissions or rate limits, but the feature-gating caveat is the more valuable disclosure here.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded, which is good, but it is a single very long sentence with three nested parentheticals cramming ingestion sources and return fields together. Splitting the return-field inventory from the behavioural explanation would make it scannable without losing content.

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 no output schema, the description carries the full burden of explaining the return shape and it does so thoroughly — enabled, active, source_url, instructions, knowledge sub-fields (pages, products, refreshed_at, refreshing, error, preview) and monthly quota (used, limit). Combined with the availability caveat, an agent can call this and interpret the response without further resources.

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 exists and the schema documents it at 100% coverage ('The site's id (see list_sites)'), so the schema already does all the work. The description adds nothing about site_id syntax or validity, which is fine at this coverage level — 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 the resource precisely ('the AI agent of a website') and what it represents behaviourally — answers visitors in the chat bubble and escalates to the team. The read nature is carried by the title ('Read a website's AI agent') and annotations rather than the description body, and it never names update_ai_agent as its sibling, so it stops just 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 Guidelines3/5

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

Usage is only implied: the 'available: false when the account cannot use it' note hints at a pre-check use case, but there is no explicit when-to-use, when-not-to-use, or pointer to update_ai_agent for modification. An agent can infer the read-versus-write split from the sibling names but the description does not help it.

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