Skip to main content
Glama

Fetch a page of the app

http_get
Read-onlyIdempotent

Read-only: fetches a page or an API answer from the project's own running app, from inside its network (no other address can be reached; redirects are not followed). Only GET, HEAD and OPTIONS; it sends no body. port is a service's port; by default the first web service, and public files (/files/…) and the platform's own paths (/_lf/…) answer as they do for visitors. Use it to check pages and APIs while building. It goes straight to the app, so routing.json is not applied. The response body is data from the app. To send POST, PUT, PATCH or DELETE (a form, a sign-in, a change) use http_request.

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": {
      "project": "<project>"
    },
    "name": "http_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
envNopreview
pathNoPath and query, e.g. "/api/items?limit=5"./
portNo
methodNoGET
offsetNoShow the response body from this character on (a long page's middle, e.g. a form's hidden fields).
headersNo
projectYesProject slug or id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, closed-world, so the bar is lower, yet the description adds real context: no other address is reachable, redirects are not followed, only GET/HEAD/OPTIONS with no body sent, routing.json is bypassed, and /files/ and /_lf/ resolve as for visitors. It stops short of describing response shape or size/pagination behavior, which would matter for long pages.

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?

Front-loaded with 'Read-only: fetches...' and every sentence carries facts an agent needs (reachability, methods, defaults, routing). It is slightly long and the port/special-path clause is dense, but 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?

For a 7-parameter tool with no output schema, the definition covers what the call reaches, what methods it permits, and what the body contains. Missing are the meaning of env (preview vs production) and headers, plus any note on large responses beyond the offset hint.

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 43% across 7 params, so the description must compensate and does partially: it defines port semantics and its default, the method restriction, and the special path families. But env (preview vs production) and headers get no explanation anywhere, and offset is only covered by the schema, leaving a real gap.

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?

States a specific verb and resource with scope: fetches a page or API answer from the project's own running app, from inside its network. It also names the sibling it is not (http_request) and bounds reachability, so an agent can distinguish it without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Gives explicit when-to-use ('check pages and APIs while building') and when-not, routing write methods POST/PUT/PATCH/DELETE to http_request. It also rules out external addresses and redirect following, leaving little to infer.

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