Skip to main content
Glama

add_observation

Record a timestamped observation with optional significance for an app to preserve project history and support queryable long-term context.

Instructions

Add a new timestamped observation for an app.

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": {
      "app": "<app>",
      "type": "<type>",
      "message": "<message>"
    },
    "name": "add_observation"
  }
}

Input Schema

NameRequiredDescriptionDefault
appYes
typeYes
messageYes
significanceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It implies a server-assigned timestamp ("timestamped"), but says nothing about whether observations are append-only, whether duplicates are allowed, what permissions are required, or what happens to the significance field.

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?

A single tight sentence with the action and resource front-loaded and no filler. Its brevity is efficient, though it borders on under-specification rather than true economy.

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

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a four-parameter write tool with zero annotation coverage, zero schema descriptions, and no output schema, the definition is far too thin. An agent knows it creates something called an observation but not what to put in type, message, or significance, nor what the call returns.

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% across four parameters, and the description compensates only marginally: "for an app" maps to the app parameter. The required "type" and "message" fields and the optional "significance" field are given no meaning, so an agent cannot tell what values are expected.

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 names a specific verb and resource ("Add a new ... observation") and scopes it to an app, plus notes it is timestamped. It is clear what the tool creates, but it offers no differentiation from write-oriented siblings such as add_pattern, add_skill, or track_decision.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to record an observation versus when to use add_pattern, track_decision, or add_skill, and no prerequisites or exclusions are stated. The agent must infer the choice purely from the tool name.

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