Skip to main content
Glama

Ask a Hostlet site

ask_site
Read-only

Asks a Hostlet site's AI a question and returns its answer, which comes from the site's own documents with sources. Works for public sites; passcode sites need the passcode, and the owner can use the owner key.

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": "<site>",
      "question": "<question>"
    },
    "name": "ask_site"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteYesThe site's address name, e.g. "maple-street-bakery" for maple-street-bakery.hostlet.ai.
passcodeNoThe site's passcode, if it has one.
questionYesThe question to ask.
owner_keyNoThe private owner key returned when the site was made. It proves the caller owns the site.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / owner_key / description
      Added value: +"The private owner key returned when the site was made. It proves the caller owns the site."
    • addedInput schema / properties / passcode / description
      Added value: +"The site's passcode, if it has one."
    • addedInput schema / properties / question / description
      Added value: +"The question to ask."
    • addedInput schema / properties / site / description
      Added value: +"The site's address name, e.g. \"maple-street-bakery\" for maple-street-bakery.hostlet.ai."
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint; the description adds that answers are grounded in the site's own documents and come back with sources, which is real behavioral context. It also discloses the authentication paths (passcode vs owner key) that determine whether the call succeeds. It stops short of describing failure modes or answer limits.

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?

One sentence, front-loaded with what the tool does and what it returns, followed by the access conditions. Every clause carries information and there is no 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?

With no output schema, the description usefully explains what comes back (an answer with sources). Combined with full schema coverage and read-only annotations, an agent has enough to call it correctly; only edge behavior such as failures or unanswerable questions is unaddressed.

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 all four parameters are already documented in the schema, including the passcode-if-present and owner-key-proves-ownership semantics. The description restates the same conditional access model without adding format, precedence (passcode vs owner key), or error semantics beyond 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?

States a specific verb and resource: it asks a Hostlet site's AI a question and returns an answer grounded in the site's own documents with sources. That is clearly distinct from the mutation/build siblings (change_site, add_document, make_ai, make_website), though no sibling is named explicitly.

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?

Gives access-condition guidance — public sites work directly, passcode sites need the passcode, owners can use the owner key — which tells the agent which credential to supply. It does not say when to prefer this over check_site or other read siblings, so the when-to-use routing is only implied.

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