Skip to main content
Glama

Save any numbers about the business

log_data_points

Save numbers the user has about their own business so Ripplewatch can line them up against competitor moves: approval rate by segment, bank-link completion, activation rate, average limit, time to first purchase, win rate by cohort, anything that is a rate, count or average over time. Use it when the user has a tool or data you can read (a database, analytics, billing, a spreadsheet they share): pull the last 8 to 26 weeks and pass one row per metric, segment and week, exactly as read. One row per metric, segment and period, as an aggregate you read (a rate, a count, an average), never individual customers. Use a stable metric name (approval_rate, bank_link_completion, activation_rate, avg_limit_usd). Say which way is good with higher_is: better for approval rate, worse for churn or decline rate. Put a cohort in segment (gig_workers, thin_file) when the number is for one group. Never estimate a number you did not read, and ask the user before pulling their data. Re-sending a period updates it. If the response says the feature is not set up yet, tell the user it is coming and do not retry.

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": {
      "rows": "<rows>"
    },
    "name": "log_data_points"
  }
}

Input Schema

NameRequiredDescriptionDefault
rowsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=false) it discloses the upsert contract ('Re-sending a period updates it'), a consent precondition ('ask the user before pulling their data'), and an error-path instruction ('If the response says the feature is not set up yet, tell the user it is coming and do not retry'). That is exactly the mutation-specific behavior an agent cannot get from 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?

Purpose and the reader's payoff are front-loaded, and nearly every clause enforces a distinct rule. There is some redundancy — 'one row per metric, segment and week, exactly as read' is restated as 'One row per metric, segment and period, as an aggregate you read' — and the single dense paragraph could be split into rules for easier scanning.

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?

There is no output schema, yet the description covers the one response case that matters (feature-not-set-up) and explains the write semantics that determine correctness. For a single-parameter write tool with minimal annotations, nothing an agent needs to call it safely and correctly is missing.

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

Parameters4/5

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

The top-level 'rows' parameter carries no schema description, and the description compensates well: one row per metric/segment/period as an aggregate, stable snake_case metric names, cohort placement in segment, and the meaning of higher_is ('better for approval rate, worse for churn or decline rate'). Nested fields such as unit, label, note, competitor and period_days are left to the schema's own per-property descriptions.

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?

The description opens with a specific verb plus resource: 'Save numbers the user has about their own business' and enumerates concrete examples (approval rate by segment, bank-link completion, average limit, win rate by cohort). The qualifier 'their own business' and the aggregate-only framing separate it from sibling logging tools such as log_customer_feedback, log_call_mentions and log_win_loss without needing to name them.

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?

It states a clear trigger ('Use it when the user has a tool or data you can read: a database, analytics, billing, a spreadsheet they share'), the expected time window (8 to 26 weeks) and explicit exclusions (never individual customers, never estimate a number you did not read, ask before pulling data). The only gap is that it never names a sibling alternative for borderline cases, e.g. per-customer metrics that would belong in log_customer_metrics.

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.