Skip to main content
Glama

campaignstack_whoami

Read-onlyIdempotent

Who this connection is and what it may do: the workspace it is bound to, the permissions the owner approved, and whether it is an API key or a connected app. Call it when a tool asks which workspace a call is for (a person in several workspaces names one; with only one, workspaceId defaults to it), and use campaignstack_explain_capabilities when the question is which tool to reach for rather than what is permitted. It reads nothing about leads or campaigns.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
includeNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
userNo
scopesNo
keyTypeNoworkspace, user, oauth or stdio
keyPrefixNo
workspacesNoEvery workspace this person can reach, for the workspaceId argument
workspaceIdNoSet only for a key bound to one workspace
capabilitiesNoEach granted scope in plain words
workspaceNameNo
notificationPreferencesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / $schema
      Added value: +"http://json-schema.org/draft-07/schema#"
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / include
      Added value: +{
      +  "additionalProperties": false,
      +  "default": {},
      +  "properties": {
      +    "notificationPreferences": {
      +      "default": false,
      +      "type": "boolean"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedOutput schema / properties / notificationPreferences
      Added value: +{
      +  "anyOf": [
      +    {
      +      "anyOf": [
      +        {
      +          "not": {}
      +        },
      +        {}
      +      ]
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": true,
      +  "properties": {
      +    "capabilities": {
      +      "anyOf": [
      +        {
      +          "anyOf": [
      +            {
      +              "not": {}
      +            },
      +            {
      +              "items": {
      +                "additionalProperties": true,
      +                "properties": {
      +                  "direction": {
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  },
      +                  "means": {
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  },
      +                  "note": {
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  },
      +                  "scope": {
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "type": "array"
      +            }
      +          ],
      +          "description": "Each granted scope in plain words"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "description": "Each granted scope in plain words"
      +    },
      +    "keyPrefix": {
      +      "anyOf": [
      +        {
      +          "anyOf": [
      +            {
      +              "not": {}
      +            },
      +            {
      +              "type": "string"
      +            }
      +          ]
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "keyType": {
      +      "anyOf": [
      +        {
      +          "anyOf": [
      +            {
      +              "not": {}
      +            },
      +            {
      +              "type": "string"
      +            }
      +          ],
      +          "description": "workspace, user, oauth or stdio"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "description": "workspace, user, oauth or stdio"
      +    },
      +    "scopes": {
      +      "anyOf": [
      +        {
      +          "anyOf": [
      +            {
      +              "not": {}
      +            },
      +            {
      +              "items": {
      +                "type": "string"
      +              },
      +              "type": "array"
      +            }
      +          ]
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "user": {
      +      "anyOf": [
      +        {
      +          "anyOf": [
      +            {
      +              "not": {}
      +            },
      +            {
      +              "additionalProperties": true,
      +              "properties": {
      +                "email": {
      +                  "anyOf": [
      +                    {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "id": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "name": {
      +                  "anyOf": [
      +                    {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                }
      +              },
      +              "type": "object"
      +            }
      +          ]
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "workspaceId": {
      +      "anyOf": [
      +        {
      +          "anyOf": [
      +            {
      +              "not": {}
      +            },
      +            {
      +              "type": "string"
      +            }
      +          ],
      +          "description": "Set only for a key bound to one workspace"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "description": "Set only for a key bound to one workspace"
      +    },
      +    "workspaceName": {
      +      "anyOf": [
      +        {
      +          "anyOf": [
      +            {
      +              "not": {}
      +            },
      +            {
      +              "type": "string"
      +            }
      +          ]
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "workspaces": {
      +      "anyOf": [
      +        {
      +          "anyOf": [
      +            {
      +              "not": {}
      +            },
      +            {
      +              "items": {
      +                "additionalProperties": true,
      +                "properties": {
      +                  "name": {
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  },
      +                  "role": {
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  },
      +                  "workspaceId": {
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "type": "array"
      +            }
      +          ],
      +          "description": "Every workspace this person can reach, for the workspaceId argument"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "description": "Every workspace this person can reach, for the workspaceId argument"
      +    }
      +  },
      +  "type": "object"
      +}
  3. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare a safe, idempotent, closed-world read, so the bar is lower. The description still adds real context: the connection may be an API key or a connected app, permissions are those the owner approved, workspaceId defaults to the sole workspace, and it explicitly scopes out lead/campaign data. It does not describe response shape, but the output schema covers that.

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 core purpose, then the usage rule and the negative scope in a tight sequence with no filler. It is dense and slightly long for one paragraph, but every clause carries actionable information.

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?

With an output schema present, return values need not be explained, and the description covers identity, permissions, credential type, trigger conditions, the alternative tool, and what it does not read. The only hole is the unexplained optional include parameter.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the single parameter (an optional nested 'include.notificationPreferences') is never mentioned in the description. The description compensates for the coverage gap on scope but not on this opt-in parameter, leaving the agent to infer it from the schema alone.

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+resource — reporting what the current connection is (identity, workspace binding, approved permissions, credential type). It explicitly contrasts itself with the sibling campaignstack_explain_capabilities, so an agent can distinguish the two without opening a 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?

It gives an explicit trigger ('Call it when a tool asks which workspace a call is for') plus a named alternative and the condition selecting it ('use campaignstack_explain_capabilities when the question is which tool to reach for rather than what is permitted'). When-to-use, when-not-to-use, and the alternative are all present.

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