Skip to main content
Glama

add_site

Captures a website as a style reference for promos: saves light, dark, and full-page screenshots plus colors, fonts, radii, and heading/button text so an agent can build in that look.

Instructions

Take a website as a reference for a promo's look, lighter than a codebase: open url, keep its first screen in light and dark and the whole page (sites//light.png, dark.png, full.png), and the design values it really uses: colours by how much of the screen they cover, the CSS custom properties on :root, fonts, corner radii, and the words of its headings and buttons. Adding the same name again captures it afresh. Then @ reaches it, and the agent builds in that style.

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

Input Schema

NameRequiredDescriptionDefault
urlYeshttp or https address
nameNoWhat @ calls it (default: its host)
basisNoWhat you read and followed to make this change, as refs from search or lookup: rule:<lint or taste rule>, taste, feedback:<id> (earlier feedback this follows; what it answers goes in feedback), commit:<id> (an earlier change it builds on), asset:, template:, skill:… The person sees them under the change, so they know why it is this way. Name only what shaped it.
messageNoOne line saying why, kept with the change in the history
feedbackNoIds of the feedback this change answers (notes and marks from list_notes, list_examples or the conversation). When the person keeps the change it joins the record of that feedback, and when they then mark the feedback resolved it is the fix; when they take it back, the feedback opens again.
confidenceNoHow sure you are this change is what the person wants. high: they asked for exactly this, or you measured it against a reference. medium: you inferred it from the taste, a rule or earlier feedback. low: you are guessing, or it changes something they did not ask about. The person's threshold decides which changes stand by themselves and which wait for them to keep; say it honestly on every change.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.2
    • addedInput schema / properties / confidence
      Added value: +{
      +  "description": "How sure you are this change is what the person wants. high: they asked for exactly this, or you measured it against a reference. medium: you inferred it from the taste, a rule or earlier feedback. low: you are guessing, or it changes something they did not ask about. The person's threshold decides which changes stand by themselves and which wait for them to keep; say it honestly on every change.",
      +  "enum": [
      +    "high",
      +    "medium",
      +    "low"
      +  ]
      +}
  2. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Beyond the annotations, the description discloses real behavioral traits: it opens a live URL (matching openWorldHint), writes specific files (sites/<name>/light.png, dark.png, full.png), extracts colours by screen coverage, :root custom properties, fonts, radii and heading/button wording, and that re-adding the same name overwrites the prior capture (consistent with idempotentHint=false). It does not cover failure modes for unreachable URLs or how long a capture takes, keeping it below a 5.

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?

Purpose is front-loaded and the piece follows a logical order: what it is, what it captures and where, what happens on re-add, then how the result is consumed. The middle sentence is a dense run-on list of extracted values, which costs some readability but each item is substantive rather than 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?

For a 6-parameter, no-output-schema tool, the description compensates well by enumerating the deliverables that stand in for a return value. The remaining gap is that the change-tracking parameters (basis, message, feedback, confidence) are left entirely to the schema, though they are well documented there. Adequate for correct invocation, with minor slack.

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 coverage is 100%, so every parameter is already documented in the input schema, establishing the baseline of 3. The description adds meaning for `url` (it is actually opened and rendered) and for `name` (it is the handle @ later reaches), plus the overwrite-on-same-name rule. It says nothing about basis, message, feedback or confidence, which are the bulk of the parameters.

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?

Specific verb-and-resource: takes a website as a visual/style reference for a promo, with an explicit contrast ('lighter than a codebase') that separates it from add_code. The agent knows exactly what artifact is produced (screenshots plus extracted design tokens). It stops short of naming the sibling tools it displaces by name, so a 4 rather than 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 implied rather than stated: it is for borrowing a site's look as a style basis, and 'lighter than a codebase' hints at when to prefer add_code. It also notes 'Adding the same name again captures it afresh', which is a useful repeat-call rule. There is no explicit 'use this when / do not use this when' nor a named alternative, so guidance is only adequate.

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

Deploy Server

Other Tools