Skip to main content
Glama
parallel-variable-mcp

parallel-variable-mcp

pv_estimate_population

Estimates matched real digital residents for a region and audience filters, returning population counts and narrow-audience warnings before simulation without spending simulation credits.

Instructions

免费实时预估在指定地区与人群筛选条件下覆盖的真实数字居民人数(matched_count)及防窄化提示。不消耗任何推演点数,建议在确认发起推演前调用。

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": {
      "region_code": "<region_code>"
    },
    "name": "pv_estimate_population"
  }
}

Input Schema

NameRequiredDescriptionDefault
genderNo
age_maxNo
age_minNo
region_codeYes目标区域编码(如 110105)。
income_bandsNo
audience_tagsNo
education_levelsNo
marital_statusesNo
requested_sample_sizeNo期望抽样人数,用于判断是否足够满足样本量。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations supplied, the description carries the behavioral burden and does well: it declares the call is free ('不消耗任何推演点数'), real-time, read-only in effect, and that it returns both a count and narrowing warnings. It omits any statement about rate limits or how 'real-time' latency behaves under heavy filters, which keeps it below a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two compact sentences: the output/scope statement first, then the cost/workflow note. Every clause earns its place and nothing is repeated from the schema.

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?

For a 9-parameter tool with no output schema and low schema coverage, the description covers the purpose, cost model, and one return field, which is the minimum an agent needs to call it safely. It leaves the filter semantics and the anti-narrowing hint's meaning undefined, so it is adequate but incomplete.

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 only 22% — only region_code is documented, while the eight filter parameters (age bounds, income, education, marital status, audience tags, requested_sample_size) rely entirely on enum values. The description adds nothing beyond the generic phrase '人群筛选条件': it does not explain how multiple filters combine (AND vs OR), what happens when filters are omitted, or what requested_sample_size is used for in the narrowing check.

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?

States a concrete verb and resource ('预估…覆盖的真实数字居民人数'), names the primary return field (matched_count) and the secondary payload (防窄化提示). It also distinguishes itself implicitly from pv_run_simulation by being free and pre-flight, though it never names that sibling explicitly.

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?

'建议在确认发起推演前调用' gives a clear when-to-use point in the workflow relative to running a simulation. It does not state when to skip this tool or how it relates to pv_get_targeting_options / pv_list_regions for discovering valid filter values, so the routing guidance is good but not exhaustive.

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