Skip to main content
Glama

call_any_read_api_of_docstar

Read-onlyIdempotent

Read from any DocStar API endpoint with a GET request for the signed-in user and return { status, ok, headers, data }. Use it for lookups no dedicated tool covers, once you know the exact endpoint: from the quickstart-docstar skill's recipes, or looked up with get_docstar_api_docs. Never guess a URL. Pass the full url with path variables filled in, the headers the endpoint's docs list, and query params in query (not in the url). Send the endpoint's auth header with an empty value "": the user's token is filled in automatically. Never put a token there yourself.

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>",
      "headers": "<headers>"
    },
    "name": "call_any_read_api_of_docstar"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesFull endpoint URL with path variables replaced by real values, e.g. https://api.example.com/users/42. Put query params in `query`, not here.
queryNoQuery params as name/value pairs; an array sends the param once per item. Example: {"type": "flow", "bringflows": true}
headersYesRequest headers as name/value pairs, as the docs list them. Give the auth header (Authorization, proxy_auth_token, x-api-key, ...) an empty value "" so the signed-in user's token is filled in, or only the scheme the docs put before the token, e.g. "Bearer" for "Authorization: Bearer <token>"; never put a token here yourself. Pass {} when the endpoint needs no headers. Example: {"proxy_auth_token": "", "Content-Type": "application/json"}

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / headers / description
      Previous value: -"Request headers as name/value pairs, as the docs list them. Give the auth header (Authorization, proxy_auth_token, x-api-key, ...) an empty value \"\" so the signed-in user's token is filled in; never put a token here yourself. Pass {} when the endpoint needs no headers. Example: {\"proxy_auth_token\": \"\", \"Content-Type\": \"application/json\"}"New value: +"Request headers as name/value pairs, as the docs list them. Give the auth header (Authorization, proxy_auth_token, x-api-key, ...) an empty value \"\" so the signed-in user's token is filled in, or only the scheme the docs put before the token, e.g. \"Bearer\" for \"Authorization: Bearer <token>\"; never put a token here yourself. Pass {} when the endpoint needs no headers. Example: {\"proxy_auth_token\": \"\", \"Content-Type\": \"application/json\"}"
  2. 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 readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered; the description adds the genuinely non-obvious behavior that the signed-in user's token is injected when the auth header is sent with an empty value. It also discloses the response shape, which tells the agent that failures surface as fields rather than exceptions. It stops short of describing pagination, rate limits, or what a non-ok status implies, which keeps 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?

Front-loaded with purpose and return shape, then prerequisites, then the call-construction rules, so an agent can stop reading early and still act. The token instruction is stated twice in close succession ("is filled in automatically" followed by "Never put a token there yourself") and is repeated again verbatim in the schema, which is minor waste.

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 three-parameter open-world passthrough with no output schema, the description supplies the missing essentials: the authenticated-user context, the token injection contract, the response envelope, and how to source a valid URL. Error handling for non-2xx statuses and pagination on list endpoints are the notable omissions for a tool this open-ended.

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 description coverage is 100%, so the baseline is 3, and the description largely restates what the schema already documents for url, query and headers (query goes in `query` not the URL; empty-value auth header). The schema is in fact slightly richer, since it adds the "Bearer" scheme option and the {} case for header-free endpoints.

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 ("Read from any DocStar API endpoint with a GET request for the signed-in user") and even declares the return envelope { status, ok, headers, data }. "Use it for lookups no dedicated tool covers" separates it from the purpose-built siblings like list_collections or create_page, and the GET-only scope distinguishes it from a generic any-method pass-through.

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 an explicit selection rule (only when no dedicated tool covers the lookup), a prerequisite ("once you know the exact endpoint"), the two sanctioned sources for that endpoint (quickstart-docstar recipes or get_docstar_api_docs), and a hard prohibition ("Never guess a URL"). Little is left to inference.

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.