Skip to main content
Glama

Get workspace context

workspace__get_context
Read-onlyIdempotent

What Ranksmile knows about a workspace: the brand name and notes the editor writes from, the voices, the competitors found in search, and the research log (the newest 20 entries of the last 90 days, with age_days). Call it before SEO work. Before paying for research, reuse a log entry under 30 days old. missing lists what is still empty.

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": {
      "workspace_id": "<workspace_id>"
    },
    "name": "workspace__get_context"
  }
}

Input Schema

NameRequiredDescriptionDefault
workspace_idYesFrom workspace__list.

Output Schema

NameRequiredDescriptionDefault
domainYes
voicesNo
missingYes
brand_nameNo
competitorsNoDomains competing in search: domain, appearances, avg_position.
research_logYesThe newest 20 entries of the last 90 days, newest first: id, summary, author, created_at, age_days.
workspace_idYes
brand_knowledgeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the safety profile is covered; the description adds genuinely useful behavior beyond that — the research log is silently truncated to the newest 20 entries within 90 days and carries age_days, and `missing` signals empty sections. It does not mention permissions, cost, or latency, and since an output schema exists the field enumeration is partly redundant.

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 tight sentences that front-load the content inventory, then the call trigger, then the caching rule and the `missing` semantics. Every clause carries distinct information with no filler.

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 one-parameter, read-only retrieval with a full output schema and rich annotations, the description covers content, truncation behavior, the `missing` field, and when to call versus reuse. Nothing an agent needs in order to invoke or interpret it correctly is absent.

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% and the single parameter's description already says 'From workspace__list.', which is the key sourcing hint. The prose adds no format, type, or scoping detail for workspace_id beyond the schema, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description enumerates exactly what the tool returns (brand name/notes, voices, competitors, research log) rather than restating the title, so an agent can tell it apart from workspace__list and workspace__update_context. The verb is implicit ('What Ranksmile knows about a workspace') rather than an explicit 'get', and much of the enumeration overlaps the output schema, so it stops just short of a 5.

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?

'Call it before SEO work' gives a clear triggering condition, and 'Before paying for research, reuse a log entry under 30 days old' supplies a concrete decision rule and the cheaper alternative. It lacks an explicit when-not-to-call clause, but the alternative is named and actionable.

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