Skip to main content
Glama

get_settings

Retrieve ArgoCD server settings via api/v1/settings to access configurations for OIDC, Dex, UI customization, and plugins.

Instructions

Get returns Argo CD settings using api/v1/settings

This endpoint returns the ArgoCD server settings including
configuration related to OIDC, Dex, UI customization, and plugins.

Returns:
    ArgoCD server settings

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The main handler function for the 'get_settings' tool. It makes an API request to retrieve ArgoCD settings and returns the data or an error dictionary.
    async def get_settings() -> Dict[str, Any]:
        """
        Get returns Argo CD settings using api/v1/settings
    
        This endpoint returns the ArgoCD server settings including
        configuration related to OIDC, Dex, UI customization, and plugins.
    
        Returns:
            ArgoCD server settings
        """
        success, data = await make_api_request("settings")
    
        if success:
            # Return the full settings response
            return data
        else:
            # Return a properly structured error dictionary
            return {"error": data.get("error", "Failed to retrieve ArgoCD settings")}
  • server.py:34-34 (registration)
    Registration of the 'get_settings' tool using the FastMCP decorator mcp.tool().
    mcp.tool()(settings.get_settings)
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It states this is a read operation ('Get') and describes what the endpoint returns, which is helpful. However, it doesn't mention authentication requirements, rate limits, error conditions, or whether the data is cached/live. For a read-only tool with zero annotation coverage, this provides basic but incomplete behavioral context.

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 appropriately concise with three sentences that each add value: stating the action, detailing what's returned, and summarizing the return value. It's front-loaded with the core purpose. Minor deduction for slightly redundant phrasing ('Returns:' section could be integrated more smoothly).

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 this is a read operation with no parameters and no output schema, the description provides adequate coverage of what the tool does and what it returns. However, without annotations or output schema, it should ideally mention more about the response format, authentication needs, or error handling. The description is complete enough for basic use but lacks depth for a production 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 has 0 parameters with 100% schema description coverage, so the baseline for a parameterless tool is 4. The description appropriately doesn't waste space discussing nonexistent parameters. It focuses on what the tool does rather than parameter details.

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: 'Get returns Argo CD settings using api/v1/settings' - this specifies the verb ('Get'), resource ('Argo CD settings'), and endpoint. It distinguishes from siblings by focusing on server settings rather than applications, plugins, or user info. However, it doesn't explicitly contrast with all siblings, keeping it at 4 rather than 5.

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 when this tool is appropriate versus other settings-related tools (if any exist) or when to use it versus other configuration-fetching tools. There's no context about prerequisites, timing, or exclusions.

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

Related 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/severity1/argocd-mcp'

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