Get workspace
portkey_get_workspaceGet a single workspace by slug/id. Portkey: GET /workspaces/{id}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The workspace slug or id. |
portkey_get_workspaceGet a single workspace by slug/id. Portkey: GET /workspaces/{id}.
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The workspace slug or id. |
Changes observed during successful MCP inspections.
Input schema / $schemaPrevious value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
readOnlyHint=true already establishes this as a safe read, and the description adds the upstream endpoint mapping, which is mild extra context. It says nothing about error behavior for an invalid slug (404/403), auth requirements, or what fields a workspace carries.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two short sentences, zero padding, with the core verb+resource statement front-loaded and the API reference trailing as supporting detail. Nothing to trim.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a one-parameter read-only fetch with annotations covering safety and no output schema to explain, the description gives everything needed to invoke it. Only minor gaps (auth scope, not-found behavior) remain, which is acceptable at this complexity.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100% with a single 'id' param already documented as 'The workspace slug or id.' The description's 'by slug/id' simply mirrors the schema, adding no new format, precedence, or example detail. Baseline 3 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
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 workspace by slug/id') and pins the exact API surface via 'GET /workspaces/{id}'. It clearly reads as the singular counterpart to the sibling portkey_list_workspaces, though it never names that alternative explicitly.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Usage is implied rather than stated: 'single workspace' tells the agent this is a per-entity fetch, not a listing. There is no explicit when-to-use/when-not guidance or pointer to portkey_list_workspaces for enumeration, so an agent must infer the routing.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.