Skip to main content
Glama

Understand what is happening

observe_app
Read-onlyIdempotent

What is happening in production, by view: metrics, traces, errors (grouped), history (versions and events), timeline, impact (a version's effect), database (frequent and slow SQL queries), edge (what the CDN PoPs serve; url: why an address is kept or not) or ask (dated facts around a question).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "observe_app"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoAn address of the environment: why a PoP keeps it or not.
viewNoThe view returned.metrics
limitNo100 at most.
queryNoA PromQL query (Prometheus' query language: https://prometheus.io/docs/prometheus/latest/querying/basics/); without it, traffic and errors.
rangeNoThe window.1h
sinceNoWindow: 30m, 2h, 1d, or an ISO 8601 date.24h
trialNoThe key returned by the call that created the trial (deploy_app, upload_source or write_files: trial_key), passed again on each call.
untilNoEnd (ISO 8601 date); now by default.
errorsNoOnly the traces with a span in error.
projectNoThe project.
serviceNoThe app's OTEL_SERVICE_NAME; by default, the project's name (what while sets).
versionNoVersion number; the active version by default.
databaseNoDatabase name; the first declared by default.
familiesNoKeep only these families.
questionNoThe question, in plain words.
trace_idNoOne trace in detail: its id (32 hexadecimal characters).
operationNoOnly the traces of this operation (span name), for example "GET /orders".
environmentNoProduction or a preview.production
fingerprintNoFingerprint of a group, for its detail.
min_durationNoOnly the traces longer than this, for example "500ms" or "2s".
since_minutesNoWindow, in minutes (30 days at most).
window_minutesNoThe compared window, before and after the version.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / url
      Added value: +{
      +  "description": "An address of the environment: why a PoP keeps it or not.",
      +  "type": "string"
      +}
    • changedInput schema / properties / view / enum
      Previous value: -[
      -  "metrics",
      -  "traces",
      -  "errors",
      -  "history",
      -  "timeline",
      -  "impact",
      -  "database",
      -  "ask"
      -]New value: +[
      +  "metrics",
      +  "traces",
      +  "errors",
      +  "history",
      +  "timeline",
      +  "impact",
      +  "database",
      +  "ask",
      +  "edge"
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / trial / description
      Previous value: -"The key returned by the first deploy_app (trial_key), passed again on each call."New value: +"The key returned by the call that created the trial (deploy_app, upload_source or write_files: trial_key), passed again on each call."
  3. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered and the bar is lower. The description adds that errors are grouped and that impact reports a version's effect, but is silent on pagination, result volume, latency of heavy views, or that repeated calls may need the trial key on the wire. Useful but thin beyond the annotations.

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?

It is a single dense sentence with the frame 'What is happening in production, by view:' front-loaded and each view's gloss earning its place. The nested parentheticals make it a run-on to parse, but there is no filler or repetition.

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?

This is a 22-parameter, 9-mode mega-tool with no output schema, so the description carries a lot of load and it only partly delivers: it explains what each view means but not how to compose parameters per view or how the single result type varies across modes. Adequate to start, not enough to call it correctly on the first try for non-default views.

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 all 22 parameters are already documented and the baseline is 3. The description adds no mapping of which parameters apply to which view (e.g. that fingerprint pairs with errors, window_minutes with impact, url with edge) and does not disambiguate the overlapping time parameters range, since, since_minutes and window_minutes. That is the one piece of meaning the schema cannot express and it is absent.

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 the domain (production observability) and enumerates the nine concrete views it can return (metrics, traces, errors, history, timeline, impact, database, edge, ask), so an agent can predict the shape of the output. It never routes away from siblings such as get_logs, get_app_status, query_database, or get_activity_log, which overlap heavily with several of these views. Hence clear purpose, no differentiation.

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

Usage Guidelines3/5

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

Usage is only implied: an agent infers 'pick the view that matches your question', but there is no statement of when to prefer this over get_logs or query_database, no prerequisite notes, and no exclusions. The parenthetical glosses on each view help selection slightly but are definitions, not guidance.

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