Skip to main content
Glama
Portward

Portward

by hamzaelsiesy

save_secret

Stores a user-entered secret, such as a database password or sharing code, from the panel form for a pending request without exposing it to the model.

Instructions

The panel's form sends what the user typed (a database password, the sharing code) for the ask in its _meta (or read with secret_request). App-only: the model never sees this tool, its input or result.

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": {
      "request": "<request>",
      "secret": "<secret>"
    },
    "name": "save_secret"
  }
}

Input Schema

NameRequiredDescriptionDefault
secretYes
requestYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior3/5

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

With no annotations, the description carries the full load, and it does add one real behavioral fact: an app-only execution path where the model never sees the tool, its input, or its result. It says nothing about persistence lifetime, overwrite behavior on repeated saves, permissions, or failure modes, so the mutation profile stays largely undisclosed.

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

Conciseness3/5

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

Two sentences, no obvious padding, but the parenthetical '(or read with secret_request)' is wedged into the middle of a sentence and interrupts the flow. The app-only constraint, which is the most important fact for an agent, is tacked on at the end rather than front-loaded.

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

Completeness3/5

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

For a two-required-parameter tool with no annotations and no output schema, the description covers provenance of both inputs and the app-only visibility constraint, which is a reasonable minimum. It leaves out what happens on success or failure, whether an existing secret is replaced, and any scoping to the requesting panel.

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 0%, so the description must compensate for two bare 'request' and 'secret' strings. It does add meaning to both: secret is the literal value the user typed (a database password, the sharing code) and request is the pending ask from _meta that can be read via secret_request. That is useful, but the mapping between the two fields and how they must be paired is still loose rather than fully specified.

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

Purpose3/5

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

The description conveys the mechanism (the panel's form sends user-typed values such as a database password or sharing code) but never plainly states that the tool stores/persists a secret. An agent must infer the verb from the tool name rather than read it in the text.

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

Usage Guidelines3/5

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

It does point at the sibling secret_request as the way to read back what was saved, which implies a save-then-read pairing. However, there is no explicit when-to-use or when-not-to-use guidance, and the 'App-only: the model never sees this tool' note effectively tells the agent it will not be the caller, without clarifying what to do instead.

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