Skip to main content
Glama
credential-use-mcp

credential-use-mcp

by aorizondo

Open an authenticated proxy (asks the user)

proxy_open
Idempotent

Open a short-lived local proxy to a stored HTTP credential's service, adding authentication so requests reach it without exposing the secret. Reuse the same user-approved proxy while it lasts.

Instructions

Open a local proxy to a stored HTTP credential's service: requests to the returned http://127.0.0.1 URL reach the service with the credential's authentication added, so you never handle the secret. The user approves it for some minutes and/or requests; while that lasts, calling it again returns the same proxy without asking.

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": {
      "credential": "<credential>"
    },
    "name": "proxy_open"
  }
}

Input Schema

NameRequiredDescriptionDefault
credentialYesCredential name, as in cred_list

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing the user-approval gate (a real interaction cost), the bounded lifetime of that approval, and the reuse semantics on repeat calls — which corroborates the idempotentHint with concrete behavior. It also states the concrete return value shape (a 127.0.0.1 URL) and the security property that the secret never reaches the caller.

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?

Two sentences, front-loaded with the verb and the outcome, with no redundant restatement of the title. The phrase 'some minutes and/or requests' is deliberately vague and slightly loose, but it communicates the genuinely dynamic approval window.

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 one-parameter tool with no output schema, the description covers what is produced, why it is safe, and how repeated calls behave. It omits failure cases such as approval denial or an unknown credential name, and does not point to proxy_close for teardown, leaving minor gaps.

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% and the single parameter is already documented as 'Credential name, as in cred_list'. The description adds only that the credential is a stored HTTP credential whose auth is injected, without format or validation details, so the schema carries the parameter semantics.

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 ('Open a local proxy to a stored HTTP credential's service') and then explains the mechanism: requests to the returned http://127.0.0.1 URL reach the service with authentication injected. This is distinguishable from the cred_* siblings, which manage secrets rather than expose a live endpoint.

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?

Gives clear operating context: the user is prompted to approve, approval lasts for some minutes and/or requests, and re-calling within that window returns the same proxy rather than re-prompting. It does not explicitly name proxy_close or say when to prefer this over handling the credential another way, so the guidance is strong but not exhaustive.

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