Skip to main content
Glama

Get project details

get_project
Read-only

Get a single project: name, slug, description, public URL, listen port, run plan, timestamps. listen_port is the port inside the box that this project's URL is routed to, so an app here binds that rather than a port of its own choosing, and has to be running for the URL to answer. listen_port is null on a project created before the field existed, and on a box old enough to predate the in-pod proxy the published port (8080) is reached directly instead, so treat those two as the fallback when an app that binds listen_port still cannot be reached. url_status covers only whether the address and its certificate are ready, so it reads "active" for a public project with nothing listening; it is not a health check. run_plan is how bring-up installs and starts it, or null if no plan has been settled yet; a run_plan whose port is null means the project isn't a server.

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_project"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYesThe project's id, as returned by create_project or list_projects.

Output Schema

NameRequiredDescriptionDefault
idYesProject id.
urlNoPublic URL. null while the project is private.
nameNoProject name.
slugNoURL slug. Stays the same when visibility changes.
accessNoWho may open the URL once it is public.
sourceNoWhat the workspace was seeded from: kind plus git_url, ref, subdir, or archive_path.
domainsNoCustom domains connected to the project.
run_planNoHow bring-up installs and starts the project: stack, install, start, port, env, notes. null until one is settled.
templateNoTemplate id it was created from.
lifecycleNoephemeral projects are removed with cleanup_project.
server_idYesThe server the project lives on.
created_atNoISO 8601 timestamp.
init_phaseNoWhere bring-up has got to, for a project seeded from a source.
updated_atNoISO 8601 timestamp.
url_statusNoWhether the address and certificate are ready. Not a health check.
visibilityNopublic = live at url. private = not publicly reachable.
cert_statusNoState of the shared certificate. null while private.
descriptionNoOne-line description.
listen_portNoThe port inside the box this project's URL is routed to.
runtime_statusNoWhether the project is running or paused.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / domains
      Added value: +{
      +  "description": "Custom domains connected to the project.",
      +  "items": {
      +    "properties": {
      +      "checked_at": {
      +        "description": "When DNS was last checked, ISO 8601.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "domain": {
      +        "description": "The hostname.",
      +        "type": "string"
      +      },
      +      "problem": {
      +        "description": "What is still wrong, in words. null when nothing is.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "records": {
      +        "description": "The DNS records to add at the domain's DNS provider.",
      +        "items": {
      +          "properties": {
      +            "name": {
      +              "description": "The full record name to create.",
      +              "type": "string"
      +            },
      +            "purpose": {
      +              "description": "routing sends the traffic, ownership proves who controls the domain.",
      +              "enum": [
      +                "routing",
      +                "ownership"
      +              ],
      +              "type": "string"
      +            },
      +            "type": {
      +              "description": "Record type.",
      +              "enum": [
      +                "CNAME",
      +                "TXT"
      +              ],
      +              "type": "string"
      +            },
      +            "value": {
      +              "description": "The value to set.",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "type",
      +            "name",
      +            "value"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "status": {
      +        "description": "pending = waiting for the DNS records. verified = records found, certificate being issued. active = serving over HTTPS (while the project is public). cert_failed = the certificate could not be issued; see problem.",
      +        "enum": [
      +          "pending",
      +          "verified",
      +          "active",
      +          "cert_failed"
      +        ],
      +        "type": "string"
      +      },
      +      "url": {
      +        "description": "https://<domain> once active and the project is public, otherwise null.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "domain",
      +      "status",
      +      "records"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint true, destructiveHint false, openWorldHint false), so the description wisely spends its words elsewhere. It adds real interpretive context beyond the annotations, notably that url_status is readiness of address and certificate rather than a health check, and the null semantics of listen_port on legacy projects or older boxes. It does not cover failure behavior for a missing project, which keeps it below a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The opening sentence is well front-loaded and earns its place, but the body is a dense run-on field reference spanning listen_port, fallback ports, url_status, and run_plan. Much of this is genuinely useful, yet it reads as return-value documentation that would sit more naturally with the output schema, and the long chained clauses cost readability.

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?

An output schema exists, so return values need not be explained exhaustively, yet the description goes further by disambiguating the tricky fields (legacy null listen_port, 8080 fallback, url_status not being a health check). For a one-parameter read tool this is close to complete; only error or not-found behavior is unaddressed.

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 coverage is 100% and the single project_id parameter is already documented as coming from create_project or list_projects. The description adds nothing about the parameter, which is the expected baseline when the schema does the work.

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 and resource ('Get a single project') and enumerates exactly what comes back: name, slug, description, public URL, listen port, run plan, timestamps. 'Single' distinguishes it from the list_projects sibling without needing to name it.

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?

Usage is only implied by 'single project' versus the sibling list_projects; there is no explicit statement of when to call this instead of list_projects, or what happens with a stale or unknown project_id. Adequate but leaves the agent to infer the 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.