Skip to main content
Glama

Get workspace context

get_workspace_context
Read-only

Read the connected account's role, credential type, granted scopes, effective capabilities and reasons for unavailable capabilities, current limits and monitoring groups. Use before configuring Watchr; do not infer permissions or costs.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
roleYes
billingYes
languageYes
timezoneYes
account_idYes
account_nameYes
can_configureYes
granted_scopesYes
credential_typeYes
monitoring_groupsYes
can_manage_membersYes
capability_reasonsYes
documentation_topicYes
new_monitoring_email_defaultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedOutput schema / $defs / GroupCapabilities
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "actor_discovery": {
      +      "type": "boolean"
      +    },
      +    "brands": {
      +      "type": "boolean"
      +    },
      +    "external_sources": {
      +      "type": "boolean"
      +    },
      +    "market_sources": {
      +      "type": "boolean"
      +    },
      +    "owned_channels": {
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "brands",
      +    "owned_channels",
      +    "external_sources",
      +    "market_sources",
      +    "actor_discovery"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / $defs / WorkspaceGroup / properties / capabilities
      Added value: +{
      +  "anyOf": [
      +    {
      +      "$ref": "#/$defs/GroupCapabilities"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / $defs / WorkspaceGroup / properties / group_type
      Added value: +{
      +  "default": "competitive",
      +  "enum": [
      +    "competitive",
      +    "brand_listening",
      +    "market"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / $defs / WorkspaceGroup / properties / market_topic
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
  2. Changed2 schema fields changed
    • addedOutput schema / $defs / WorkspaceGroup / properties / name
      Added value: +{
      +  "type": "string"
      +}
    • changedOutput schema / $defs / WorkspaceGroup / required
      Previous value: -[
      -  "id",
      -  "active",
      -  "brands"
      -]New value: +[
      +  "id",
      +  "name",
      +  "active",
      +  "brands"
      +]
  3. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so safety is covered by structured data. The description adds behavior beyond that: it discloses that capabilities may be unavailable and that the tool explains why, and it warns the agent not to substitute inference for the tool's authoritative answer. It does not discuss freshness of the context or what happens when the connection is broken.

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

Conciseness5/5

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

Two sentences with no filler: the first front-loads the returned content, the second front-loads the usage rule. Every clause carries information an agent needs to decide to call it.

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?

With an empty schema, full annotation coverage, and an output schema documenting the return shape, the remaining burden is purpose plus usage, and both are covered. The agent knows what it gets, when to call it, and what not to do instead.

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?

The tool takes zero parameters, so there is no parameter meaning for the description to add; the baseline for a parameterless tool applies. Nothing in the description conflicts with the empty schema.

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 ('Read') and enumerates the exact resources returned: role, credential type, granted scopes, effective capabilities, capability-blocking reasons, limits, and monitoring groups. That enumeration separates it cleanly from siblings such as get_monitoring_configuration or get_billing_overview, which return configuration or cost data rather than account-level permission context.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

'Use before configuring Watchr' gives an explicit triggering condition, and 'do not infer permissions or costs' gives an explicit prohibition, which is strong when-guidance. It stops short of naming a concrete alternative tool to use for cost questions (e.g. a billing sibling), so routing in that direction is left to inference.

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.