Skip to main content
Glama

list_ssh_keys

List the user's own SSH keys: key_id, label, key type, fingerprint, direction (outbound = platform uses it to reach external repos; inbound = direct-connect public key) and timestamps. Metadata only — private key material is never included in any form.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_ssh_keys"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations provided, the description carries the safety burden and does so well by declaring 'Metadata only — private key material is never included in any form', which tells the agent exactly what it will and will not receive. It also explains the non-obvious 'direction' semantics. It does not state explicitly that the operation is read-only or mention ordering/pagination, but 'List' plus the no-leak guarantee covers the main behavioral risk.

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?

One sentence plus a short qualifier, front-loaded with the verb and scope, with the field enumeration and the private-key disclaimer both earning their place.

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?

An output schema exists, so the description need not re-explain return values, yet it adds the non-obvious direction and confidentiality context. A brief note on read-only status or result ordering would make it fully complete for a zero-parameter listing tool.

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?

The tool takes zero parameters, so there is no parameter semantics to document and the baseline of 4 applies; the description instead spends its words on output field meaning, which is a reasonable trade.

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 ('List the user's own SSH keys') and immediately enumerates the returned fields, so an agent can distinguish it from add_ssh_key, delete_ssh_key, and generate_ssh_key without opening any schema.

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?

The usage is only implied: it is a read-only listing scoped to 'the user's own' keys, which implicitly excludes other users' keys, but the description never says when to call this versus the sibling key-management tools or what preconditions exist.

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