Skip to main content
Glama

Get Project

get_project
Read-only

Use this when you need to reopen a saved project or browse what the user has saved — it fetches a kernelCAD Studio project, or lists the signed-in user's saved projects. Pass slug (from a /p/ link or a prior listing) to fetch that project's full .kcad source and metadata — then edit and open_in_studio with the same slug so the user's open tab updates live. Private projects require their owner's OAuth connection. OMIT slug to list the signed-in user's saved projects (most recently updated first); that listing mode requires the OAuth connection and does NOT paint — prefer list_my_projects to find a project to continue. Read-only: this tool never shows a viewer (only open_in_studio does, once per response). Paint phases: projectSaved/meshReady reflect fetch state; viewerPainted stays false. Use open_in_studio (with code) to publish+paint — do NOT call get_model_mesh or get_latest_render for interactive paint.

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

Input Schema

NameRequiredDescriptionDefault
slugNoThe project slug from a listing or a /p/<slug> Studio link. Omit to list the signed-in user's saved projects.

Output Schema

NameRequiredDescriptionDefault
okNoWhether the read succeeded.
urlNoFetch mode: revision-pinned /p/<slug>?version= link.
codeNoFetch mode: the full .kcad source.
slugNoFetch mode: the project slug.
titleNoFetch mode: the project title.
assetsNoComplementary files keyed by source-relative path.
meshUrlNoFetch mode: revision-matched mesh artifact URL when available — FunnelViewer loads it instead of re-executing CAD. When meshStatus is building, this is the expected CDN URL (retry until ready).
privacyNoFetch mode: the project privacy.
versionNoFetch mode: the project version.
embedUrlNoFetch mode: revision-pinned chrome-free /embed/<slug>?revision= viewer URL (includes meshUrl when available).
meshHintNoFetch mode: transient build guidance, or the authenticated viewing requirement for a private project.
projectsNoList mode (no slug): the user's saved projects.
meshErrorNoFetch mode: sanitized repair/persist error when meshStatus is failed.
meshReadyNoFetch mode: true only when meshStatus===ready.
paintHintNo
meshStatusNoFetch mode: ready | building | failed | missing. Private projects return missing and no public artifact URLs.
parametersNoFetch mode: the model's editable parameters.
updated_atNoFetch mode: last-updated timestamp.
serverBuildNoDeploy identity (package+git SHA@boot time) so connector lag is observable.
projectSavedNoFetch mode: true when the project was loaded.
viewerPaintedNoAlways false on tools/call; widget sets true after correlated model_displayed.
meshDownloadUrlNoStored-only API download of the verified immutable revision bytes, pinned by producer provenance. Available when the mesh is ready.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedOutput schema / properties / meshHint / description
      Previous value: -"Fetch mode: when meshStatus=building — transient; poll again or re-open_in_studio; never imply permanent 404."New value: +"Fetch mode: transient build guidance, or the authenticated viewing requirement for a private project."
    • changedOutput schema / properties / meshStatus / description
      Previous value: -"Fetch mode: ready | building | failed | missing — explicit CDN artifact state (never silently omit meshUrl under CDN mode)."New value: +"Fetch mode: ready | building | failed | missing. Private projects return missing and no public artifact URLs."
  2. Changed1 schema field changed
    • addedOutput schema / properties / meshDownloadUrl
      Added value: +{
      +  "description": "Stored-only API download of the verified immutable revision bytes, pinned by producer provenance. Available when the mesh is ready.",
      +  "type": "string"
      +}
  3. Changed1 schema field changed
    • addedOutput schema / properties / meshHint
      Added value: +{
      +  "description": "Fetch mode: when meshStatus=building — transient; poll again or re-open_in_studio; never imply permanent 404.",
      +  "type": "string"
      +}
  4. Changed4 schema fields changed
    • addedOutput schema / properties / meshReady
      Added value: +{
      +  "description": "Fetch mode: true only when meshStatus===ready.",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / paintHint
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / projectSaved
      Added value: +{
      +  "description": "Fetch mode: true when the project was loaded.",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / viewerPainted
      Added value: +{
      +  "description": "Always false on tools/call; widget sets true after correlated model_displayed.",
      +  "type": "boolean"
      +}
  5. Changed3 schema fields changed
    • addedOutput schema / properties / meshError
      Added value: +{
      +  "description": "Fetch mode: sanitized repair/persist error when meshStatus is failed.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / meshStatus
      Added value: +{
      +  "description": "Fetch mode: ready | building | failed | missing — explicit CDN artifact state (never silently omit meshUrl under CDN mode).",
      +  "type": "string"
      +}
    • changedOutput schema / properties / meshUrl / description
      Previous value: -"Fetch mode: revision-matched mesh artifact URL when available — FunnelViewer loads it instead of re-executing CAD."New value: +"Fetch mode: revision-matched mesh artifact URL when available — FunnelViewer loads it instead of re-executing CAD. When meshStatus is building, this is the expected CDN URL (retry until ready)."
  6. Changed4 schema fields changed
    • addedOutput schema / properties / embedUrl
      Added value: +{
      +  "description": "Fetch mode: revision-pinned chrome-free /embed/<slug>?revision= viewer URL (includes meshUrl when available).",
      +  "type": "string"
      +}
    • addedOutput schema / properties / meshUrl
      Added value: +{
      +  "description": "Fetch mode: revision-matched mesh artifact URL when available — FunnelViewer loads it instead of re-executing CAD.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / serverBuild
      Added value: +{
      +  "description": "Deploy identity (package+git SHA@boot time) so connector lag is observable.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / url
      Added value: +{
      +  "description": "Fetch mode: revision-pinned /p/<slug>?version= link.",
      +  "type": "string"
      +}
  7. Changed1 schema field changed
    • addedOutput schema / properties / assets
      Added value: +{
      +  "additionalProperties": true,
      +  "description": "Complementary files keyed by source-relative path.",
      +  "type": "object"
      +}
  8. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "code": {
      +      "description": "Fetch mode: the full .kcad source.",
      +      "type": "string"
      +    },
      +    "ok": {
      +      "description": "Whether the read succeeded.",
      +      "type": "boolean"
      +    },
      +    "parameters": {
      +      "description": "Fetch mode: the model's editable parameters.",
      +      "items": {},
      +      "type": "array"
      +    },
      +    "privacy": {
      +      "description": "Fetch mode: the project privacy.",
      +      "type": "string"
      +    },
      +    "projects": {
      +      "description": "List mode (no slug): the user's saved projects.",
      +      "items": {},
      +      "type": "array"
      +    },
      +    "slug": {
      +      "description": "Fetch mode: the project slug.",
      +      "type": "string"
      +    },
      +    "title": {
      +      "description": "Fetch mode: the project title.",
      +      "type": "string"
      +    },
      +    "updated_at": {
      +      "description": "Fetch mode: last-updated timestamp.",
      +      "type": "string"
      +    },
      +    "version": {
      +      "description": "Fetch mode: the project version.",
      +      "type": "number"
      +    }
      +  },
      +  "type": "object"
      +}
  9. Changed2 schema fields changed
    • changedInput schema / properties / slug / description
      Previous value: -"The project slug from list_my_projects or a /p/<slug> Studio link."New value: +"The project slug from a listing or a /p/<slug> Studio link. Omit to list the signed-in user's saved projects."
    • removedInput schema / required
      Removed value: -[
      -  "slug"
      -]
  10. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only say readOnly/openWorld/non-destructive; the description adds auth requirements (private projects need the owner's OAuth connection, listing mode needs OAuth), ordering ('most recently updated first'), and that listing mode does not paint. It also discloses paint-phase semantics (projectSaved/meshReady track fetch state, viewerPainted stays false) — behavior no annotation conveys.

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?

It is front-loaded with the triggering condition ('Use this when you need to reopen...') and every sentence carries operational content. It is dense to the point of being a single long block, though — the paint-phase sentence could be tightened without losing information.

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 values need no explanation, and the description covers what the schema cannot: dual-mode selection, OAuth preconditions, ordering, paint behavior, and the follow-up handoff to open_in_studio. Nothing an agent needs to select or invoke 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, but the description adds real meaning: where a slug comes from ('from a /p/<slug> link or a prior listing') and the intended workflow ('then edit and open_in_studio with the same slug so the user's open tab updates live'). It does not discuss the (absent) other parameters, but there is nothing more to document.

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?

The description opens with a concrete verb+resource pair ('fetches a kernelCAD Studio project, or lists the signed-in user's saved projects') and explicitly splits the two modes by presence of `slug`. It also names what it is not ('Read-only: this tool never shows a viewer — only open_in_studio does'), so an agent can separate it from open_in_studio and list_my_projects 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 Guidelines5/5

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

It gives explicit when-to-use conditions for both modes ('Pass `slug` ... to fetch', 'OMIT `slug` to list'), names the preferred alternative for discovery ('prefer list_my_projects'), and states a hard exclusion ('do NOT call get_model_mesh or get_latest_render for interactive paint'). That is the full when/when-not/alternative triad.

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.