Skip to main content
Glama

AI Terms lookup

ai_terms
Read-only

Reads a site's AI Terms file to determine whether one URL permits a specific AI use—search, answer, training, or agent—and whether a price applies.

Instructions

Before your agent reads a web page: does the site allow it, for which use (search, answer, training, agent), and at what price? Reads the site's AI Terms file (/.well-known/ai-terms) and answers for one URL and one use. Free. AI Terms is a file a website publishes at /.well-known/ai-terms that says, for each use of its content by AI (search, answer, training, agent), whether that use is allowed, allowed for a price, or not allowed.

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": {
      "url": "<url>"
    },
    "name": "ai_terms"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesThe page you want to read, e.g. https://example.com/blog/post
useNoWhat you will do with it: search, answer, training or agentagent

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true; the description adds real value beyond that by stating the call is free and that the query is scoped to exactly one URL and one use. It also previews the shape of the answer (allowed / allowed for a price / not allowed). It does not cover rate limits, what happens when a site publishes no ai-terms file, or caching behavior.

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?

The framing question is front-loaded and the operational facts (endpoint, scope, cost) follow in order. The final sentence re-defines AI Terms after the filename was already given, which is mild redundancy, but it earns its place for agents unfamiliar with the format.

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 two-parameter read-only lookup with no output schema, the description supplies the concept definition, the endpoint, the cost, and the answer shape. The notable gap is absence handling — it never says what is returned when a site has no /.well-known/ai-terms file, which is a common case an agent must interpret.

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% and the enum already lists search/answer/training/agent, so the description contributes little beyond the baseline. It does reinforce the one-URL-one-use granularity and explains what each use means in the AI Terms context, but that largely restates the schema.

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?

The description opens with a concrete question ("does the site allow it, for which use... and at what price?") and then states the action: reads /.well-known/ai-terms and answers for one URL and one use. That is a specific verb-plus-resource, clearly narrower than a robots.txt-style crawler check. It never names a sibling, so the agent must infer the boundary from the URL/filename distinction alone.

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?

"Before your agent reads a web page" gives a clear, actionable trigger point, which is the main thing an agent needs to route here. There is no explicit when-not guidance or named alternative (e.g. versus ai_crawler_check or ai_visibility_check), so the exclusions half of the guidance is missing.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.