Skip to main content
Glama
storelift-mcp

storelift-mcp

Measure keyword metrics

hive_measure_keyword_metrics

Measure a keyword’s popularity and difficulty for a selected storefront when stored data is missing or stale, returning fresh values or starting a measurement job.

Instructions

Start a measurement of one keyword's popularity and/or difficulty in one storefront when the stored value is missing or stale. A fresh value or verified absence is returned without new work; a request that joins a job already running uses no daily measurement unit; the request that starts new work uses one from the workspace's daily Hive measurement allowance. The two metrics are independent: a failed source leaves the other valid metric in the answer. wait (0–20 seconds) keeps the call open until the result is stored; 202 means it is still running — read it later with hive_keyword_metrics. Needs the opt-in hive:measure scope: chosen on the API key, or approved separately when connecting over OAuth. iOS only.

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": {
      "term": "<term>"
    },
    "name": "hive_measure_keyword_metrics"
  }
}

Input Schema

NameRequiredDescriptionDefault
termYesexact keyword, e.g. habit tracker
waitNoseconds to wait for the stored result, 0–20 (this tool sends 15 when left out; the HTTP API default is 0)
countryNostorefront code, e.g. us (defaults to us)
metricsNowhich metrics to measure (default both)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.5.0

TDQS

A4.8/5.0
Behavior5/5

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

Goes well past the annotations by disclosing quota accounting (a joined job costs no daily measurement unit, a new job costs one), partial-failure semantics (a failed source leaves the other metric valid), the wait window and 202 meaning, and an authorization prerequisite (opt-in hive:measure scope via API key or OAuth approval) plus an iOS-only constraint. The readOnlyHint=false / idempotentHint=false annotations are consistent with 'starts new work' and quota consumption.

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 with the action and its triggering condition, then layers cost, failure, wait, and auth details in a sensible order. It is dense and semicolon-heavy in the middle, but no sentence is filler and each adds an operational fact.

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?

For a quota-consuming, non-idempotent measurement trigger with no output schema, the description covers everything an agent needs: when to call, cost model, partial failure, waiting behavior, the 202 outcome, the required scope, and where to fetch the result. Nothing material is left to inference.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds meaning the schema does not: `wait` keeps the call open until the result is stored, 0–20 seconds, and 202 means still running. It reinforces that the call targets a single keyword and a single storefront, which frames `term` and `country` as singular rather than batch inputs.

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 and resource ('Start a measurement of one keyword's popularity and/or difficulty in one storefront') and scopes it to the case where the stored value is missing or stale. It also names the sibling that reads the result (hive_keyword_metrics), so an agent can separate starting a job from reading one without opening either schema.

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

Usage Guidelines5/5

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

Gives explicit when-to-use ('when the stored value is missing or stale'), what happens when the value is already fresh ('a fresh value or verified absence is returned without new work'), and the follow-up path when the call returns 202 ('read it later with hive_keyword_metrics'). The alternative is named with the condition that selects it.

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