Skip to main content
Glama

Ferrite

Read an app's web address

app_host
Read-onlyIdempotent

The HOST an app has, or will have once deployed: <shortcode>.<app domain>, the shortcode derived from the app id <account>/<app> the way the platform names hosts, so an app's origin and OAuth callbacks are known before its first deploy (the auth package's secrets need them). Answers {app, host, origin, derived, callback_urls}; callback_urls are the auth package's GitHub and Google callbacks under its default /auth prefix. app is your app's name (the account comes from your bearer) or a full '/' id. After a deploy, build_status and list_apps report the host the platform assigned; where they differ, theirs is right.

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": {
      "app": "<app>"
    },
    "name": "app_host"
  }
}

Input Schema

NameRequiredDescriptionDefault
appYesthe app's name as in your spec, or '<account>/<app>'
tokenNofallback bearer for clients that cannot send an Authorization header; when a header is present omit this argument, because a different token is refused

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Beyond the annotations, which already establish this as a safe, idempotent read, the description explains that the host is derived from the app id before deployment and lists the returned fields: `{app, host, origin, derived, callback_urls}`. It also clarifies what the callback URLs represent and how to resolve discrepancies after deploy, adding meaningful behavioral context that annotations alone do not provide.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The content is useful and mostly front-loaded, but it is delivered as a long, dense sentence with multiple parentheticals and clauses. For a simple read-only tool with only two parameters, the structure could be cleaner and easier to scan. Some wording, such as 'the way the platform names hosts,' adds flavor without much precision.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the low complexity, rich annotations, full schema coverage, and absence of an output schema, the description is complete enough to call the tool correctly. It explains the derived host behavior, return fields, callback URLs, and how the result relates to post-deploy host reporting. No critical agent-facing detail appears to be missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the schema already documents both parameters. The description adds some useful meaning by clarifying that `app` can be either the app name, with the account taken from the bearer token, or a full `<account>/<app>` id. It does not add further detail about the fallback `token` parameter, but the schema already covers that.

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 clearly states that this tool returns an app's host, including the derived `<shortcode>.<app domain>` form before deploy. It is specific about the resource and even distinguishes its pre-deploy output from post-deploy host reporting in `build_status` and `list_apps`. The opening is slightly dense and noun-heavy rather than a crisp verb phrase, which keeps it from 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 Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives a clear use case: knowing the app origin and OAuth callback URLs before the first deploy, when the `auth` package's secrets need them. It also names alternatives for post-deploy host lookup (`build_status` and `list_apps`) and says their values take precedence if they differ. The guidance is strong, though it does not explicitly frame the decision as 'use this when...'.

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.