Skip to main content
Glama

read_config

Reads server.xml, jvm.options, server.env, and referenced properties files from a Liberty app via SSH, with secrets redacted.

Instructions

SSH to a server and read a Liberty-style app's server.xml plus jvm.options, server.env, bootstrap.properties, and any *.properties files referenced from server.xml, with password/token/secret/key values redacted.

Args:
    server_ip: Hostname or IP address of the server to connect to over SSH.
    os_user: SSH username to authenticate as.
    ssh_key: Path to the private key file (on this machine) used for authentication.
    deployment_directory: Base deployment directory containing the application folder.
    application: Name of the application subfolder to read config from.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
os_userYes
ssh_keyYes
server_ipYes
applicationYes
deployment_directoryYes
Behavior3/5

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

No annotations provided, so description carries full burden. It discloses redaction of secrets, but lacks details on error handling, potential side effects (e.g., banner files), or authentication requirements beyond SSH key. Could be more comprehensive.

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?

The description is well-structured with a front-loaded action statement followed by an Args list. Every sentence is relevant, though slightly verbose. Could be tighter.

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?

Given the complexity (5 required params, no output schema or annotations), the description lacks information on output format, what happens on missing files, and redaction specifics. For an agent, gaps remain in understanding the result structure.

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?

Input schema has 0% description coverage, but the Args section in the description provides clear explanations for all 5 parameters. Each parameter's role is defined (e.g., server_ip as hostname/IP, ssh_key as private key path), though format constraints are omitted.

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?

The description clearly states it reads specific config files (server.xml, jvm.options, etc.) with redaction. The verb 'read' and resource 'config' are specific. It distinguishes from sibling tools like health_check and list_logs.

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?

No explicit guidance on when to use this tool vs alternatives. Usage is implied by the description, but no when-not or alternative references are provided.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Murtaza1211/mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server