Skip to main content
Glama

Get a project

GetProject
Read-onlyIdempotent

One project in full: services (state, health, image, the ports it listens on, volumes, environment, the SSH command), volumes, routes, hosts with certificates, recent operations, snapshots, the last day's HTTP traffic. Env-file values and a database's password (Project.database.connection) only with include_secret_values. Its files: ReadPath.

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": "GetProject"
  }
}

Input Schema

NameRequiredDescriptionDefault
workspaceNoThe workspace: its id or name (ListWorkspaces). Omit when the account has one.
project_idNo
incidents_beforeNoOnly incidents that opened before it: the oldest open_time seen, to page back. Absent = the newest.
snapshots_beforeNoOnly older snapshots: the oldest create_time seen, to page back. Absent = the newest.
snapshots_volumeNoOnly snapshots holding this volume (Volume.snapshot_count). Empty = all.
uptime_day_countNo≤90: Project.uptime_days. 0 = none.
incidents_before_idNoWith incidents_before: the incident_id of the oldest seen, so that those that opened at the same time are not skipped.
include_secret_valuesNoTrue = include env-file values (EnvironmentVariable.secret) and a database's password (Project.database.connection). To edit .env: ReadPath /.env.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / workspace
      Added value: +{
      +  "description": "The workspace: its id or name (ListWorkspaces). Omit when the account has one.",
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / include_secret_values / description
      Previous value: -"True = include env-file values (EnvironmentVariable.secret). To edit .env: ReadPath /.env."New value: +"True = include env-file values (EnvironmentVariable.secret) and a database's password (Project.database.connection). To edit .env: ReadPath /.env."
  3. Changed3 schema fields changed
    • addedInput schema / properties / incidents_before
      Added value: +{
      +  "description": "Only incidents that opened before it: the oldest open_time seen, to page back. Absent = the newest.",
      +  "format": "date-time",
      +  "type": "string"
      +}
    • addedInput schema / properties / incidents_before_id
      Added value: +{
      +  "description": "With incidents_before: the incident_id of the oldest seen, so that those that opened at the same time are not skipped.",
      +  "type": "string"
      +}
    • addedInput schema / properties / uptime_day_count
      Added value: +{
      +  "description": "≤90: Project.uptime_days. 0 = none.",
      +  "minimum": 0,
      +  "type": "integer"
      +}
  4. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/idempotentHint/openWorldHint, so safety is covered. The description adds substantive behavior beyond that: secret material (env-file values, Project.database.connection password) is withheld unless include_secret_values is set. It does not describe paging behavior for incidents/snapshots, but the schema parameters cover that.

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-loaded with the core statement of scope, then a dense but useful enumeration of returned fields, then two short conditional sentences. The long parenthetical list of service attributes is heavy but every item earns its place by telling the agent what data is available.

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?

With 8 parameters, no output schema, and no nested objects, the description compensates well by enumerating the return surface and flagging secret gating and the ReadPath alternative. Paging parameters are left entirely to the schema, which is acceptable given their high-quality schema descriptions, but a one-line note on paging would have made this complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 88%, so the schema already documents workspace, paging cursors, snapshot filtering, and uptime_day_count. The description only reinforces include_secret_values and points to ReadPath for .env editing; it adds little meaning the schema does not already carry, so baseline 3 applies.

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+resource ("One project in full") and then enumerates the returned surface: services with state/health/image/ports/volumes/environment/SSH command, volumes, routes, hosts with certificates, operations, snapshots, HTTP traffic. It also routes file access to ReadPath, so an agent can distinguish it from siblings like ReadPath, GetMachine, and GetOperation without opening a 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 clear conditional guidance for the two non-obvious cases: secrets require include_secret_values, and project files should be fetched with ReadPath instead. It does not explicitly state when to prefer this over a lighter list/overview sibling, but the scope ("one project in full") makes the intended use clear.

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