Skip to main content
Glama
prismeai

Prisme.ai MCP Plugin

Official
by prismeai

pull_workspace_version

Destructive

Pulls a workspace version from a git repository or imports an existing version for rollback.

Instructions

Pull a workspace version from a git repository, or roll back/import an existing workspace version.

If the user asks to pull from git, you MUST pass gitPlatform (or repositoryId) — do not call this tool without one of these selectors. Omitting both is only valid when the caller explicitly wants to roll back/import an existing workspace version.

Selector choice:

  • gitPlatform — the default for pulling from git on Prisme.ai. Pass the platform repository id (key under the workspace's platformRepositories). If you don't know the id, pass any plausible value; the tool will reject it and return the list of available platform repos so you can retry. Prefer this selector unless the user specifically names a workspace-level repo.

  • repositoryId — only when the user explicitly references a repo declared on the workspace itself.

Response includes pulledFromGit: true|false — if false after a "pull from git" request, the call was wrong; retry with gitPlatform.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
versionIdYesWorkspace version id/name to pull, such as a version name or branch/ref understood by the Prisme.ai API.
environmentNoOptional environment name (from PRISME_ENVIRONMENTS) to use specific API URL and workspace
gitPlatformNoPlatform-wide git repository id (key under `platformRepositories` on the workspace). **Pass this whenever the user asks to pull from git on Prisme.ai** — it is the primary selector for git pulls. If you don't know the exact id, pass your best guess; the tool validates it and returns the list of available platform repos so you can retry. Mutually exclusive with `repositoryId`.
workspaceIdNoAlternative: direct workspace ID (use workspaceName instead when possible)
repositoryIdNoWorkspace-level repository id. Mutually exclusive with `gitPlatform`. Omit when rolling back/importing an existing workspace version.
workspaceNameYesWorkspace name that resolves to ID via PRISME_WORKSPACES or PRISME_ENVIRONMENTS mapping
Behavior4/5

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

Annotations mark it as destructive, and the description confirms by mentioning rollback/import. Adds detail about selector validation (returns available repos on incorrect guess). However, it doesn't specify what exactly gets destroyed or overwritten, but annotations already signal destructiveness.

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?

Well-structured with bold warnings and bullet-like instructions. Front-loaded with main purpose. Could be slightly more concise, but the extra detail is justified for clarity. No redundant sentences.

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?

Despite lacking an output schema, the description explains the meaningful return field (pulledFromGit) and error handling (returns list of platform repos). It covers the main use cases and retry logic. Could mention the full response structure, but for a 6-param tool with 2 required, it's fairly complete.

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 parameters are already documented. The description adds value by explaining mutual exclusivity of gitPlatform and repositoryId, the retry mechanism, and preference for gitPlatform. This goes beyond the schema descriptions.

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 clearly states two distinct actions: pulling from git or rolling back/importing an existing version. It uses specific verbs (pull, roll back, import) and the resource (workspace version). This differentiates it from sibling tools like push_workspace_version or pull_workspace.

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?

Explicit instructions on when to use gitPlatform vs repositoryId, warning that omitting both is only valid for rollback. Includes retry guidance if gitPlatform is unknown. Clearly states when not to call (without selectors) and alternatives (retry with gitPlatform).

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

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/prismeai/prismeai-mcp-debug'

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