Skip to main content
Glama

Ginta

Let a site call an API with a secret

manage_connections
Destructive

Use when the site's JavaScript must call an outside API: save a connection (name, https base URL, which secret, how it's sent), and the page calls fetch("/_ginta/api//"); Ginta adds the key and forwards to that base URL only. list shows connections and this month's calls.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
authNoHow the key is sent: "bearer" (Authorization: Bearer, default), "header" (auth_name = the header, e.g. X-API-Key) or "query" (auth_name = the parameter, e.g. appid).
nameNoConnection name, e.g. "weather" (save, delete).
actionYesWhat to do: list the connections, save (add or change) one, or delete one.
secretNoName of the secret to attach (from manage_secrets). Omit for public APIs.
methodsNoAllowed methods (default GET and POST).
site_idYesThe site id: the first part of the site URL, e.g. "bella-roma" for https://bella-roma.ginta.page (see list_sites).
base_urlNoThe API's https base URL, e.g. "https://api.openweathermap.org/data/2.5".
auth_nameNoHeader or query parameter name for auth header/query.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNosave/delete: the connection's name.
site_idYesThe site id.
connectionsNolist: the connections.
usage_this_monthNolist: calls this month.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly=false, destructive=true, openWorld=true, and idempotent=false. The description adds useful behavior beyond that: Ginta injects the secret and forwards only to the configured base URL, and the list action reports connections plus this month's calls.

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?

The description is front-loaded with the use case, then packs the save parameters, proxy path, and list behavior into two dense but efficient sentences. 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?

Given the rich input schema, output schema, and annotations, the description covers the main use case and behavior well. It omits the delete action from prose, but that is documented in the action enum, so the omission is minor.

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 description coverage is 100%, so the baseline is 3. The description still adds semantic value by explaining that the connection name becomes part of the fetch path and that the saved secret is attached automatically, though many individual parameters are left to the already-rich 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?

The description clearly states the resource and core actions: saving a connection so a site's JavaScript can call an outside API, plus listing connections. It does not mention the delete action or explicitly distinguish itself from manage_secrets, though the use case is still easy to separate from most siblings.

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 triggering condition: 'Use when the site's JavaScript must call an outside API.' It does not state when not to use the tool or name an explicit alternative, but the context is sufficient for selection.

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