Skip to main content
Glama

campaignstack_get_workspace_compliance

Read-onlyIdempotent

Get a workspace's compliance settings: whether the GDPR Article 14 lawful-basis notice is appended to the first LinkedIn message or email each person receives, plus the fixed notice text. Call this when the user asks whether the notice is turned on, or before proposing to change it. Use campaignstack_update_workspace_compliance to change the toggle.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
workspaceIdNoWorkspace ID. REQUIRED for a user key (csu_), which spans every workspace you belong to; omitted for a workspace key (cs_), which is bound to one and ignores this argument. campaignstack_whoami reports which kind of key you are holding and, for a user key, the workspaces it can reach.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
noticeNo
storedNo
resolvedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": true,
      +  "properties": {
      +    "notice": {
      +      "anyOf": [
      +        {
      +          "anyOf": [
      +            {
      +              "not": {}
      +            },
      +            {
      +              "additionalProperties": true,
      +              "properties": {
      +                "text": {
      +                  "type": "string"
      +                },
      +                "url": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "text",
      +                "url"
      +              ],
      +              "type": "object"
      +            }
      +          ]
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "resolved": {
      +      "anyOf": [
      +        {
      +          "anyOf": [
      +            {
      +              "not": {}
      +            },
      +            {
      +              "additionalProperties": true,
      +              "properties": {
      +                "lawfulBasisNoticeEnabled": {
      +                  "type": "boolean"
      +                }
      +              },
      +              "required": [
      +                "lawfulBasisNoticeEnabled"
      +              ],
      +              "type": "object"
      +            }
      +          ]
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "stored": {
      +      "anyOf": [
      +        {
      +          "anyOf": [
      +            {
      +              "not": {}
      +            },
      +            {
      +              "additionalProperties": true,
      +              "properties": {
      +                "lawfulBasisNoticeEnabled": {
      +                  "type": [
      +                    "boolean",
      +                    "null"
      +                  ]
      +                }
      +              },
      +              "required": [
      +                "lawfulBasisNoticeEnabled"
      +              ],
      +              "type": "object"
      +            }
      +          ]
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    }
      +  },
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / workspaceId / description
      Added value: +"Workspace ID. REQUIRED for a user key (csu_), which spans every workspace you belong to; omitted for a workspace key (cs_), which is bound to one and ignores this argument. campaignstack_whoami reports which kind of key you are holding and, for a user key, the workspaces it can reach."
  3. Added

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds meaningful behavioral context beyond the annotations: it specifies what the compliance settings contain (the GDPR Article 14 notice toggle and fixed text) and clarifies the read-only nature by contrasting with the update tool. It doesn't describe the output schema, but an output schema exists, so that burden is already carried.

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?

Three sentences with zero waste. The first sentence states the purpose and the exact data returned, the second gives the trigger condition, and the third routes to the sibling. Every sentence earns its place and the most important information is front-loaded.

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?

For a read-only, single-parameter tool with a rich schema, detailed annotations, and an output schema, the description is complete. It tells the agent what the tool returns, when to call it, and which sibling to use for the write operation. Nothing an agent needs to select and invoke this tool 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 description coverage is 100%, so the schema already documents the workspaceId parameter thoroughly, including the distinction between user keys (csu_) and workspace keys (cs_) and the role of campaignstack_whoami. The description adds the context that this tool reads compliance settings, which helps the agent understand why the parameter matters, but the schema does the heavy lifting. A 4 is appropriate because the schema is exceptionally detailed and the description reinforces the parameter's purpose.

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 states a specific verb ('Get'), a specific resource ('a workspace's compliance settings'), and the exact content returned (whether the GDPR Article 14 lawful-basis notice is appended to the first LinkedIn message or email, plus the fixed notice text). It clearly distinguishes this from the sibling update tool by naming it explicitly.

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?

The description gives explicit when-to-use guidance: 'Call this when the user asks whether the notice is turned on, or before proposing to change it.' It also names the alternative tool for changing the toggle: 'Use campaignstack_update_workspace_compliance to change the toggle.' This is exactly the kind of routing 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.

Resources