Skip to main content
Glama

service_api_request

Call any Fastly REST API endpoint with enforced host and authentication safeguards.

Instructions

Generic target service HTTP API call. Supports all available endpoints while enforcing host/auth safeguards.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyNo
pathYes
queryNo
methodYes
headersNo
fastlyTokenYes
authorizationKeyNo
Behavior2/5

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

No annotations are present, so the description must carry the full burden of behavioral disclosure. The phrase 'enforcing host/auth safeguards' hints at restrictions but does not explain what those are, whether the call is read-only or mutating, what errors occur, or how auth is applied. For a generic HTTP caller, this is insufficient to predict side effects or requirements.

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

Conciseness2/5

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

The description is short (two sentences) but this is under-specification rather than conciseness. It omits essential details about request formation, endpoints, and safety. While it is easy to read, it lacks the substance needed to be useful, so it does not earn a higher score.

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

Completeness1/5

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

With 7 parameters, no output schema, no annotations, and no parameter descriptions, the description is grossly incomplete. An agent would have no idea how to format paths, what query parameters are allowed, what the response looks like, or what constraints 'host/auth safeguards' impose. This tool is not usable without significant external knowledge.

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

Parameters1/5

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

The input schema provides zero descriptions for any of the 7 parameters, and the description does not mention a single one. There is no explanation of method, path, body, query, headers, fastlyToken, or authorizationKey. With 0% schema coverage and no parameter documentation in the description, an agent cannot infer how to construct a valid request.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description only states 'Generic target service HTTP API call' without specifying what service or which endpoints are targeted. It is vague and does not differentiate from sibling tools like fastly_get_config or service_health_check, which are purpose-built. An agent cannot tell what specific resource or action this tool performs.

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

Usage Guidelines2/5

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

There is no guidance on when to use this generic caller versus the dedicated sibling tools. It does not mention that it is a fallback, nor does it suggest when a specific tool would be preferable. No context or preconditions are provided for invoking it.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/LesterAJohn/fastly-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server