Skip to main content
Glama

Get Context

get_context
Read-onlyIdempotent

Read the account and its brands: profile, credits, usage, organizations, brand context, completeness and scan status. Read-only. Start with action account, then brands.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "action": "<action>"
    },
    "name": "get_context"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputNoThe fields of the chosen action.
actionYesaccount: Read profile (user, organization, scoped brand, role, isOnboardingCompleted), credits balance and usage; include selects sections. brands: Read organization brands with name, description and tone. With several brands pass the chosen id as brandId to other tools; never implicitly use the first. organizations: List member organizations, the active one and brands; with all-organizations consent every other tool must name its organization. brand_context: Read brand identity, guidelines, visual kit, voice, strategy, Knowledge and recent posts. Pass contentType and/or platform to also get the writing rules for that kind of copy. brand_completeness: Read brand context completeness score and missing fields. brand_scan_status: Read the current website scan, guide revision and completeness for a brand created from a URL.
organizationNoOrganization this call acts in: its name, slug or id from get_context(action=organizations). Required when the connection covers several organizations (a call without it is refused with the list of organizations and their brands); a connection limited to one organization works inside it, so leave this argument out there (naming any organization is refused).

Output Schema

NameRequiredDescriptionDefault
dataNo
messageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / action / description
      Previous value: -"account: Read profile (user, organization, scoped brand, role, isOnboardingCompleted), credits balance and usage; include selects sections. brands: Read organization brands with name, description and tone. With several brands pass the chosen id as brandId to other tools; never implicitly use the first. organizations: List member organizations, the active one and brands; with all-organizations consent every other tool must name its organization. brand_context: Read brand identity, guidelines, visual kit, voice, strategy, Knowledge and recent posts. Pass contentType and/or platform to also get the writing rules; read them before writing copy yourself. brand_completeness: Read brand context completeness score and missing fields. brand_scan_status: Read the current website scan, guide revision and completeness for a brand created from a URL."New value: +"account: Read profile (user, organization, scoped brand, role, isOnboardingCompleted), credits balance and usage; include selects sections. brands: Read organization brands with name, description and tone. With several brands pass the chosen id as brandId to other tools; never implicitly use the first. organizations: List member organizations, the active one and brands; with all-organizations consent every other tool must name its organization. brand_context: Read brand identity, guidelines, visual kit, voice, strategy, Knowledge and recent posts. Pass contentType and/or platform to also get the writing rules for that kind of copy. brand_completeness: Read brand context completeness score and missing fields. brand_scan_status: Read the current website scan, guide revision and completeness for a brand created from a URL."
  2. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, and 'Read-only' simply restates that, earning no credit. The genuine addition is the onboarding sequence and the fact that this is the entry point for the other tools' context, but nothing is said about the cost, caching, or breadth of the brand context read.

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?

Two short sentences, front-loaded with the verb and resource list, then the sequencing rule. 'Read-only' is wasted keystrokes against the annotations, but the rest earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/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 needn't be described. However this is a six-action dispatcher with a polymorphic input, and the description covers only two action names plus a start-order hint, leaving the agent to rely entirely on the schema for the other four actions.

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 description coverage is 100%, so the per-action semantics, the brand selector, and the organization consent rule are all already documented in the schema. The description names only 'account' and 'brands' as actions, adding no meaning beyond what the enum descriptions provide; baseline 3 applies.

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 ('Read the account and its brands') and enumerates the sub-resources it returns: profile, credits, usage, organizations, brand context, completeness and scan status. That enumeration maps directly onto the six action enum values, so an agent can tell at a glance which sibling tool this is instead of get_content or get_workspace.

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?

Gives an explicit entry sequence — 'Start with action account, then brands' — which is a real usage rule for a multi-action read tool. It doesn't name exclusions or caution against using this for other read needs, but the sequencing guidance is concrete rather than implied.

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.