Skip to main content
Glama
Unilytics MCP Server

Unilytics MCP Server

Official

get_project_context

Read-only

Retrieve a client project's Brand Context, published Context records, and settings to write or review posts, pages, emails, and briefs with the correct voice, audience, rules, and CTAs.

Instructions

Return a client project's published Brand Context (brand voice, audience, point of view, CTA, writing rules), its published Context records (company, offerings, audience, competitors, strategy, execution, engagement, each with its sources) and its project settings.

Use when writing or reviewing content for a client project: posts, pages, emails, briefs, outlines,
audits with recommendations. It is what the consultant has already written down for this client.

With `content_type` (a name such as "Blog post", or its id) the result also carries that type's rules
and CTA; without it, the global rules and `available_content_types`. `brand_kit.missing` lists fields
not written yet, `context_records.missing` the Context records not published yet, and `guidance` explains
how the parts relate. Long record bodies are shortened to keep the response bounded (`body_status`).

Args:
    project_id: The project to load (from list_projects()).
    content_type: Optional content type name or id (`cty_…`) from available_content_types.
    include_samples: Also return the writing samples' full text (larger). Default: titles, urls and outlines only.
    context_groups: Optional Context groups to include (company, offerings, audience, competitors, strategy,
        execution, engagement). Default: all.

[Provider: Unilytics]

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": {
      "project_id": "<project_id>"
    },
    "name": "get_project_context"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes
content_typeNo
context_groupsNo
include_samplesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already cover safety (readOnly, non-destructive, closed-world), yet the description still adds substantive behavior: only published material is returned, unpublished fields surface under brand_kit.missing and context_records.missing, a guidance key explains how the parts relate, and record bodies are truncated with body_status to bound response size. include_samples is flagged as producing a larger response, which is exactly the kind of cost signal an agent needs.

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: what it returns, then when to use it, then conditional behavior, then Args. Dense but every sentence carries information; the Args block restates parameter names from the schema but with real added meaning, so it earns its place given 0% schema coverage.

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?

Complete enough for a four-parameter read tool with no output schema: return shape, conditional content_type behavior, truncation, and the missing-field markers are all described. Return-value structure is described narratively rather than exhaustively, which is acceptable given there is no output schema to lean on.

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

Parameters5/5

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

Schema description coverage is 0%, so the description carries the full burden and does: project_id's source (list_projects()), content_type accepting a name or a cty_ id from available_content_types plus its effect on global vs. type-specific rules and CTA, the six valid context_groups values, and include_samples' default of titles/urls/outlines only.

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 ("Return") and enumerates precisely what is returned: published Brand Context fields, published Context records with sources, and project settings. That enumeration plus the "It is what the consultant has already written down for this client" framing separates it cleanly from get_personal_context and get_project_config.

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 concrete when-to-use triggers (writing or reviewing posts, pages, emails, briefs, outlines, audits with recommendations) rather than a generic "use this to get context". It does not name an alternative or state when not to use it (e.g., personal vs. client context), which keeps it short of a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools