Skip to main content
Glama
fkom13

MCP SFTP Orchestrator

by fkom13

Lister les alias de serveurs

server_list

View configured server aliases and details to manage remote SSH/SFTP connections through the MCP SFTP Orchestrator interface.

Instructions

Affiche la liste de tous les alias de serveurs configurés avec leurs détails.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • server.js:81-92 (registration)
    Registration of the 'server_list' tool, including title, description, empty input schema, and handler function.
    server.registerTool(
        "server_list",
        {
            title: "Lister les alias de serveurs",
            description: "Affiche la liste de tous les alias de serveurs configurés avec leurs détails.",
            inputSchema: z.object({})
        },
        async () => {
            const serverList = await servers.listServers();
            return { content: [{ type: "text", text: JSON.stringify(serverList, null, 2) }] };
        }
    );
  • server.js:88-91 (handler)
    Handler function for 'server_list' that invokes servers.listServers() and formats the result as JSON text block.
    async () => {
        const serverList = await servers.listServers();
        return { content: [{ type: "text", text: JSON.stringify(serverList, null, 2) }] };
    }
  • Tool schema defining title, description, and empty input schema (no parameters required).
    {
        title: "Lister les alias de serveurs",
        description: "Affiche la liste de tous les alias de serveurs configurés avec leurs détails.",
        inputSchema: z.object({})
    },
  • Helper function listServers() that reads and returns the servers configuration from JSON file.
    async function listServers() {
        return await readServers();
    }
  • Underlying helper readServers() that loads the servers.json file, handling missing file gracefully.
    async function readServers() {
        try {
            await fs.access(SERVERS_FILE_PATH);
            const data = await fs.readFile(SERVERS_FILE_PATH, 'utf-8');
            return JSON.parse(data);
        } catch (error) {
            // Si le fichier n'existe pas, on retourne un objet vide
            return {};
        }
    }
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It states this is a display/list operation, which implies read-only behavior, but doesn't explicitly confirm it's non-destructive or safe. It mentions 'with their details' but doesn't specify what those details include or how the data is formatted/presented. For a tool with zero annotation coverage, this leaves significant behavioral questions unanswered.

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?

The description is a single, clear sentence that efficiently conveys the core purpose. It's appropriately sized for a simple list tool with no parameters, with no wasted words or unnecessary elaboration.

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 simple list tool with no parameters and no output schema, the description is minimally adequate. It states what the tool does but lacks details about output format, behavioral characteristics, or differentiation from siblings. With no annotations to provide safety/behavior context, the description should do more to compensate, but it meets the basic threshold.

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 has 0 parameters, and schema description coverage is 100% (though empty). The description appropriately doesn't discuss parameters since none exist. It would score 5 if it explicitly stated 'no parameters required' or similar, but the absence of parameter discussion is correct for this case.

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

Purpose4/5

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

The description clearly states the tool's purpose: 'Affiche la liste de tous les alias de serveurs configurés avec leurs détails' (Displays the list of all configured server aliases with their details). It specifies the verb (displays/list) and resource (server aliases), but doesn't explicitly distinguish it from sibling tools like 'server_add' or 'server_remove' beyond the inherent list vs. add/remove distinction.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites, when this tool is appropriate, or what other tools might be used instead for related operations. Given the sibling tools include both 'server_add' and 'server_remove', some basic differentiation would be helpful.

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/fkom13/mcp-sftp-orchestrator'

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