Skip to main content
Glama

Check a website's AI-agent policy

check_site_before_acting
Read-onlyIdempotent

Checks a website's AI-agent policy and official agent routes (official assistant apps, APIs, partner routes). Most useful before opening, browsing, shopping, booking or logging in on a company website for the user. Results are informational, not permission; the website's own terms take priority.

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": "check_site_before_acting"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainYesDomain or URL, e.g. delta.com or https://www.delta.com/flights

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint, so the safety profile is covered. The description adds genuine value beyond them by stating the results are informational, not permission, and that the site's own terms take priority — an important expectation-setter for downstream behavior. It says nothing about what happens when no policy is found, whether results are cached, or how fresh they are, which limits it to a 3.

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?

Three short sentences: what it does, when it is useful, and the caveat about authority. The most decision-relevant content (purpose) is front-loaded and there is no filler. The caveat sentence is slightly hedged but earns its place by preventing over-reliance on the result.

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?

An output schema exists, so the description need not explain return values, and the tool is a simple single-parameter read. What is supplied — purpose, timing, and the informational-status caveat — covers what an agent needs to decide and call. Minor gap: no indication of behavior for sites with no published policy or invalid domains.

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?

With a single required parameter and 100% schema description coverage (including an example of both bare domain and full URL forms), the schema already carries the semantics. The description adds no normalization, accepted-input, or subdomain-handling detail beyond it, 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: checks a website's AI-agent policy and official agent routes, with the parenthetical enumerating what 'agent routes' means (assistant apps, APIs, partner routes). An agent knows exactly what it gets back conceptually. It does not name or contrast the sibling check_sites_before_acting (plural/batch form), leaving that distinction to the caller.

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 concrete triggering contexts: before opening, browsing, shopping, booking or logging in on a company website for the user. That is a clear use-condition tied to real agent workflows. It stops short of explicit exclusions or naming alternatives, so it is context rather than full routing guidance.

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