Skip to main content
Glama

agentanalytics.sh: Analytics Your Agent Can Use

Get project context

get_project_context
Read-only

Use when you need stored product meaning before reading numbers. Returns goals, activation events, the glossary, and date annotations, or a note that none are stored. Synthetic demo for agentanalytics-demo. Sign in for your projects.

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

Input Schema

NameRequiredDescriptionDefault
projectYesProject name or ID

Output Schema

NameRequiredDescriptionDefault
dataNo
typeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already establish a safe read-only, non-destructive, closed-world operation. The description adds useful behavioral detail by listing the returned context artifacts and noting the empty-state behavior when nothing is stored; the sign-in note also adds access context.

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?

The description is short and front-loads the usage condition and returned content. The synthetic-demo wording is useful context but not essential to invoking the tool, keeping it just below the most disciplined examples.

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?

For a simple one-parameter read tool with annotations and an output schema, the description covers when to use it, what it returns, and the empty-state behavior. It could be slightly more complete by explicitly distinguishing set_project_context, but the essential invocation context is present.

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?

There is only one parameter, and the schema already documents it at 100% coverage. The description does not add syntax or selection guidance beyond the schema's project name or ID definition.

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 clearly states that the tool returns stored product meaning, specifically goals, activation events, glossary, and date annotations. It is distinguishable from numeric analytics tools, but it does not explicitly name the related set_project_context option, so the get-versus-set distinction relies on inference.

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?

The opening sentence gives a clear usage condition: use when stored product meaning is needed before reading numbers. It does not name when-not conditions or explicitly point to set_project_context as the alternative for changing context.

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