Skip to main content
Glama

Get project settings

get_settings
Read-onlyIdempotent

A project's configuration: repo, ref, framework, port, build/dependency commands, health-check path, canonical host, sub-path, output dir, and environment variables. Shows whether the project already has a database or file storage: a managed Postgres shows up as DATABASE_URL and managed object storage as S3_ENDPOINT/S3_BUCKET/S3_ACCESS_KEY/S3_SECRET_KEY/S3_REGION/S3_FORCE_PATH_STYLE, and the app reads them straight from its environment at runtime. Secret-looking values are masked unless reveal_secrets=true AND the token is read-write — read-only tokens always receive masked values. A masked value is not a problem: the variable is set in the pod, so the app reads it from its environment and nobody needs to paste it.

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": {
      "project_id": "<project_id>"
    },
    "name": "get_settings"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYesthe project id (from list_projects)
reveal_secretsNowhen true, return full env var values including secrets; default false masks secret-looking values as ***. Requires a read-write token — read-only tokens always get masked values regardless of this flag. Changing env vars does not need it: set_env_vars merges by default, so writing one var never requires reading the others.

Output Schema

NameRequiredDescriptionDefault
botNo
refNo
envsYes
nameYes
portNo
repoNo
cronsNo
frozenNo
sub_pathNo
build_cmdNo
frameworkNo
start_cmdNo
expires_atNo
project_idYes
source_kindNo
display_nameNo
google_loginYes
canonical_hostNo
default_publicYes
dependencies_cmdNo
output_directoryNo
google_login_modeNo
health_check_pathNo
storage_mount_pathNo
google_login_allowed_emailsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / bot
      Added value: +{
      +  "properties": {
      +    "app_id": {
      +      "type": "string"
      +    },
      +    "commands": {
      +      "type": "integer"
      +    },
      +    "events": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": [
      +        "null",
      +        "array"
      +      ]
      +    },
      +    "message_content": {
      +      "type": "boolean"
      +    },
      +    "mode": {
      +      "type": "string"
      +    },
      +    "path": {
      +      "type": "string"
      +    },
      +    "platform": {
      +      "type": "string"
      +    },
      +    "public_key": {
      +      "type": "string"
      +    },
      +    "register_error": {
      +      "type": "string"
      +    },
      +    "registered_at": {
      +      "type": "string"
      +    },
      +    "registered_url": {
      +      "type": "string"
      +    },
      +    "relay": {
      +      "properties": {
      +        "connected_at": {
      +          "type": "string"
      +        },
      +        "dropped": {
      +          "type": "integer"
      +        },
      +        "failed": {
      +          "type": "integer"
      +        },
      +        "filtered": {
      +          "type": "integer"
      +        },
      +        "forwarded": {
      +          "type": "integer"
      +        },
      +        "last_event_at": {
      +          "type": "string"
      +        },
      +        "queue": {
      +          "type": "integer"
      +        },
      +        "reason": {
      +          "type": "string"
      +        },
      +        "received": {
      +          "type": "integer"
      +        },
      +        "recommended_idle_window": {
      +          "type": "string"
      +        },
      +        "state": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "state",
      +        "received",
      +        "forwarded",
      +        "filtered",
      +        "dropped",
      +        "failed",
      +        "queue"
      +      ],
      +      "type": [
      +        "null",
      +        "object"
      +      ]
      +    },
      +    "token_env": {
      +      "type": "string"
      +    },
      +    "token_set": {
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "platform",
      +    "mode",
      +    "token_env",
      +    "token_set",
      +    "path"
      +  ],
      +  "type": [
      +    "null",
      +    "object"
      +  ]
      +}
    • addedOutput schema / properties / crons
      Added value: +{
      +  "items": {
      +    "properties": {
      +      "last_error": {
      +        "type": "string"
      +      },
      +      "last_outcome": {
      +        "type": "string"
      +      },
      +      "last_scheduled_at": {
      +        "type": "string"
      +      },
      +      "last_status": {
      +        "type": "integer"
      +      },
      +      "name": {
      +        "type": "string"
      +      },
      +      "path": {
      +        "type": "string"
      +      },
      +      "schedule": {
      +        "type": "string"
      +      },
      +      "timezone": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "name",
      +      "schedule",
      +      "path"
      +    ],
      +    "type": "object"
      +  },
      +  "type": [
      +    "null",
      +    "array"
      +  ]
      +}
  2. Changed1 schema field changed
    • addedOutput schema / properties / start_cmd
      Added value: +{
      +  "type": "string"
      +}
  3. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds real value on top: secret masking rules, the read-write token requirement, and the fact that managed Postgres/storage surface as specific env var names read at runtime. The only gap is that it does not mention pagination or size limits, which is minor for a single-project settings read.

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?

Front-loads the field inventory, then moves to the database/storage detection and masking rules in a logical order. The closing sentence restates the masking reassurance already implied earlier, which is mild redundancy but serves as useful emphasis for an agent deciding whether to escalate to reveal_secrets.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return shape need not be described; the description instead covers the things structured fields cannot: auth requirements, masking semantics, and how managed services appear in the environment. Nothing an agent needs to call this correctly is missing.

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?

Schema coverage is 100%, so the baseline is 3; the description earns an extra point by explaining the practical consequence of reveal_secrets (masked values are still functional because the pod reads them from its environment) rather than just restating the flag. It largely mirrors the schema text on the token requirement, which keeps it from a 5.

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?

Names the exact resource and enumerates the concrete fields returned (repo, ref, framework, port, build commands, health-check path, canonical host, sub-path, output dir, env vars). An agent can immediately tell this is the read-side counterpart to update_settings without opening the schema.

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 conditional guidance for reveal_secrets and explicitly notes that writing env vars does not require reading them because set_env_vars merges by default, which steers the agent away from an unnecessary call. It stops short of an explicit 'use this instead of update_settings when you only need to inspect' statement, so it is clear context rather than full when/when-not routing.

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