Skip to main content
Glama

Get workspace

twelfth_get_workspace
Read-onlyIdempotent

Get the connected workspace's name, slug, timezone, currency, country, own store website domain and data rules: how this workspace's source data must be read (which field is the sales channel, which source fields mean something other than their name). Call it first so dates, money and data are read in the workspace's own terms, and follow its data rules in every query; for people use twelfth_list_workspace_members.

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

Input Schema

NameRequiredDescriptionDefault
contextNoOptional, analytics only: why you are calling this, in a few words; name roles, never people or figures.
conversation_idNoOptional, analytics only: one opaque id reused on every call in this conversation.

Output Schema

NameRequiredDescriptionDefault
idYes
nameYes
slugYes
timezoneYesIANA timezone, e.g. Australia/Melbourne.
dataRulesNoHow this workspace's source data must be read, set by its administrators: the sales-channel encoding first, then each rule. Absent when the workspace has none. Follow them in every query.
countryCodeYesISO 3166 country code.
currencyCodeYesISO 4217 currency code.
websiteDomainNoThe workspace's own store domain (e.g. gamesmen.com.au), when known.
workspaceCountNoHow many workspaces the connected person belongs to. Absent for a workspace key.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / context / description
      Previous value: -"Optional, for analytics only: in about 15 to 25 words, why this tool is being called and how it serves the person's goal. Describe people and things by role (\"a buyer\", \"a supplier\"); never include names, emails, figures or other details from the conversation or results. It never changes the result."New value: +"Optional, analytics only: why you are calling this, in a few words; name roles, never people or figures."
    • changedInput schema / properties / conversation_id / description
      Previous value: -"Optional, for analytics only: one id for this conversation, such as a random UUID chosen on the first call, passed unchanged on every later call in the same conversation so the calls can be grouped. It never changes the result."New value: +"Optional, analytics only: one opaque id reused on every call in this conversation."
  2. Changed2 schema fields changed
    • addedInput schema / properties / context
      Added value: +{
      +  "description": "Optional, for analytics only: in about 15 to 25 words, why this tool is being called and how it serves the person's goal. Describe people and things by role (\"a buyer\", \"a supplier\"); never include names, emails, figures or other details from the conversation or results. It never changes the result.",
      +  "type": "string"
      +}
    • addedInput schema / properties / conversation_id
      Added value: +{
      +  "description": "Optional, for analytics only: one id for this conversation, such as a random UUID chosen on the first call, passed unchanged on every later call in the same conversation so the calls can be grouped. It never changes the result.",
      +  "type": "string"
      +}
  3. Changed1 schema field changed
    • addedOutput schema / properties / dataRules
      Added value: +{
      +  "description": "How this workspace's source data must be read, set by its administrators: the sales-channel encoding first, then each rule. Absent when the workspace has none. Follow them in every query.",
      +  "items": {
      +    "additionalProperties": {},
      +    "properties": {
      +      "id": {
      +        "type": "string"
      +      },
      +      "statement": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "statement"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  4. Changed1 schema field changed
    • addedOutput schema / properties / workspaceCount
      Added value: +{
      +  "description": "How many workspaces the connected person belongs to. Absent for a workspace key.",
      +  "type": "integer"
      +}
  5. Changed1 schema field changed
    • addedOutput schema / properties / websiteDomain
      Added value: +{
      +  "description": "The workspace's own store domain (e.g. gamesmen.com.au), when known.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  6. Changed6 schema fields changed
    • removedOutput schema / properties / countryCode / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / countryCode / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / currencyCode / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / currencyCode / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / timezone / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / timezone / type
      Added value: +[
      +  "string",
      +  "null"
      +]
  7. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds genuinely non-structured context: that the returned data rules are prescriptive and must be applied to every subsequent query, and that dates and money are workspace-relative. It stops short of describing failure modes or what happens if the workspace is not connected.

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 resource and the payload list, then the usage directive, then the sibling pointer — a sensible order with no filler sentences. The middle clause is dense and parenthetical-heavy, which slightly hurts scannability but every phrase carries 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 annotations carry the safety profile. For a zero-required-parameter read tool, the description supplies the one thing structure cannot: that this call is a prerequisite for interpreting dates, currency and field meanings in all later queries.

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%, so both parameters (context, conversation_id) are already fully documented as optional analytics metadata. The description adds no parameter-level detail, which is acceptable since the schema does the work, but it earns only the baseline.

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 the connected workspace') and then enumerates exactly what comes back: name, slug, timezone, currency, country, own store website domain, and data rules. It also distinguishes itself from twelfth_list_workspace_members by routing people-related needs elsewhere, so an agent can tell the two apart without opening either 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?

Gives an explicit ordering instruction ('Call it first so dates, money and data are read in the workspace's own terms') and an explicit downstream obligation ('follow its data rules in every query'). It also names the alternative for a specific adjacent need (people → twelfth_list_workspace_members), which is exactly the when-not guidance an agent needs.

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.