Skip to main content
Glama

API keys of a site (write-only)

manage_secrets
Destructive

Use when the site's code needs an API key (weather, CRM, maps…): list shows the names only, delete removes one, set stores one encrypted. The owner saves a key's value in Ginta's own key box (the website's Settings → More → For developers), so it never goes through the chat; set without value returns that link. Values can never be read back, by you or anyone; use them through manage_connections.

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": {
      "site_id": "<site_id>",
      "action": "<action>"
    },
    "name": "manage_secrets"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoSecret name in capitals, e.g. "WEATHER_API_KEY" (set, delete).
valueNoLeave out: the owner saves the value in Ginta's key box (the link this returns). Only for a key the user already chose to send here themselves; never ask for one in the chat and never invent one.
actionYesWhat to do: list the names, set (save or replace) one, or delete one.
site_idYesThe site id: the first part of the site URL, e.g. "bella-roma" for https://bella-roma.ginta.page (see list_sites).

Output Schema

NameRequiredDescriptionDefault
nameNoset/delete: the secret's name.
textYesThe answer in words, the same as the text content: read it (for get_guide the whole guide, for get_site the files' contents).
deletedNo
secretsNolist: names only, never values.
site_idYesThe site id.
replacedNo
key_box_urlNoset without value: where the owner saves the key in Ginta.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / text
      Added value: +{
      +  "description": "The answer in words, the same as the text content: read it (for get_guide the whole guide, for get_site the files' contents).",
      +  "type": "string"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "site_id"
      -]New value: +[
      +  "site_id",
      +  "text"
      +]
  2. Changed2 schema fields changed
    • changedInput schema / properties / value / description
      Previous value: -"The key itself (set only). Ask the user to paste it; never invent one."New value: +"Leave out: the owner saves the value in Ginta's key box (the link this returns). Only for a key the user already chose to send here themselves; never ask for one in the chat and never invent one."
    • addedOutput schema / properties / key_box_url
      Added value: +{
      +  "description": "set without value: where the owner saves the key in Ginta.",
      +  "type": "string"
      +}
  3. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, and the description goes well beyond that: values are write-only and unreadable by anyone, the owner supplies the value out-of-band via Ginta's key box so it never transits the chat, and set without a value returns the link instead. That is exactly the kind of operational context annotations cannot express.

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 the trigger condition and tightly packed, with no filler. The single long sentence carrying the key-box explanation is dense and slightly run-on, but each clause (write-only, out-of-band entry, link fallback) carries distinct information an agent needs.

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?

An output schema exists, so return shapes need not be explained, yet the description still covers the one non-obvious return (the key-box link) and the read-back prohibition. Combined with the schema and destructive annotation, an agent has everything needed to call this safely across all three actions.

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 baseline is 3, but the description adds real semantics: what each action returns (list = names only, delete = removal), the conditional behavior of omitting value, and a hard constraint against inventing or soliciting values. It does not add format detail for name or site_id beyond what the schema already says.

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 set and resource — list names, delete one, set encrypted — for site API keys, and names the exact trigger (the site's code needing a key). The write-only nature is stated in the title and reinforced inline, so an agent can distinguish this from manage_connections, which is explicitly named as the consumption path.

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 a concrete when: 'Use when the site's code needs an API key (weather, CRM, maps…)'. It also routes the agent elsewhere for the complementary job ('use them through manage_connections') and specifies the no-value branch of set, which is the main decision point an agent will hit.

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