Skip to main content
Glama

agent_detection_create_site

Create an Agent Detection integration for a website and return its publishable key (pk_live_...) and the script snippet to install. domain is the site's domain, e.g. example.com. If the team already has an integration for that domain, the existing one is returned instead of a duplicate.

The publishable key is safe to put in a public web page: it only sends
telemetry, only from the listed domains. Never put the Resemble API key in
a page. Paste the snippet into the <head> of every page to cover; the page
can then listen for the 'resemble:verdict' event or call ResembleAgentDetection.onVerdict().

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNo
domainYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

With no annotations provided, the description carries the full disclosure burden and does so thoroughly. It reveals side effects, idempotency ('existing one is returned instead of a duplicate'), security properties of the publishable key, and explicit installation guidance, all of which go well beyond the schema.

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 core purpose and return value, then adds idempotency, security, and installation details. Every sentence contributes useful information and there is no redundancy or filler.

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?

There is no output schema, so the description correctly explains the key return artifacts and how the delivered snippet should be used. It is nearly complete, but it omits any description of the `name` parameter and does not mention update/list alternatives, leaving a minor contextual gap.

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?

The schema has no parameter descriptions, so the description must compensate. It clearly explains `domain` with a format example ('e.g. example.com'), but it does not explain the optional `name` parameter at all. This is a partial gap, so the score is average rather than high.

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 first sentence uses a specific verb and resource: 'Create an Agent Detection integration for a website' and states the concrete return value (publishable key and script snippet). This clearly distinguishes it from siblings like agent_detection_list_sites or agent_detection_update_site, which have different purposes.

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?

The description gives clear context for when to use the tool: to create a new integration for a website, and it explains the idempotent behavior when an integration already exists. It does not explicitly name alternatives such as agent_detection_update_site for modifying an existing integration, but the usage context is unambiguous enough.

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