Skip to main content
Glama
gabrielkasmi

DeepPVMapper

get_field_distribution

Compute exact bin counts for a numeric PV field like kWp, tilt, azimuth or imagery year across France or one département, optionally keeping only 2+ source detections.

Instructions

Histogram of a numeric field (kwp, surface, tilt, azimuth, n_vintages, first_seen, last_seen) with exact counts per bin, for France or one département. Answers "how are installations distributed by size / tilt / orientation / year?". kwp, surface, tilt and azimuth are model estimates. first_seen/last_seen are imagery years, not installation dates. Data quality note: this is a detection dataset, not an exhaustive inventory (estimated recall ~0.6). A missing detection does not mean no PV installation exists there. kwp, surface, tilt and azimuth are model estimates, not surveyed values. In this server, quality_filter=true keeps only detections identified by 2 or more sources (see source_encoding in get_data_quality_reference). Call get_data_quality_reference for the full picture before assessing fitness for a specific use case.

Input Schema

NameRequiredDescriptionDefault
dptNoFrench département code. Omit for all of France.
fieldYesNumeric field to describe.
max_yearNoFor first_seen / last_seen: last year to count.
min_yearNoFor first_seen / last_seen: first year to count.
bin_edgesNoCustom ascending bin edges; each bin is [edge_i, edge_i+1) and the last is closed. Ignored for first_seen / last_seen, which are counted per year (use min_year / max_year).
quality_filterYesIf true, restrict to detections identified by 2+ sources.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so well: it discloses that kwp/surface/tilt/azimuth are model estimates rather than surveyed values, that first_seen/last_seen are imagery years and not installation dates, that the dataset is a detection dataset with ~0.6 recall, and that a missing detection does not imply no PV exists. It also spells out the exact semantics of quality_filter=true (2+ sources) and cross-references source_encoding.

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?

The purpose and scope are front-loaded, and most sentences carry distinct caveats. However, the model-estimate warning for kwp/surface/tilt/azimuth is stated twice in near-identical form ('are model estimates' then 'are model estimates, not surveyed values'), which is wasted repetition in an otherwise tight structure.

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

Completeness4/5

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

With no output schema and no annotations, the description still conveys the return shape (exact counts per bin), the geographic scope, the year-range handling, and the key fitness-for-use caveats, plus a pointer to the quality reference. It is nearly complete, though it could say more about bin behavior or expected response structure for first_seen/last_seen.

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. The description adds genuine semantic meaning beyond the schema: it flags which enum values are model estimates, interprets first_seen/last_seen as imagery years, and reinforces the 2+ source meaning of quality_filter. It does not, however, clarify dpt format or bin_edges behavior beyond what the schema already says.

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 opening clause gives a specific verb+resource+output shape: a histogram of a named numeric field with exact counts per bin, scoped to France or a single département. The enumerated field list and the quoted user question make it unmistakable against siblings like get_field_coverage or get_department_yearly_stats.

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 the question the tool answers ('how are installations distributed by size / tilt / orientation / year?') and routes the agent to get_data_quality_reference before assessing fitness for a use case. It gives no explicit when-not-to-use or a named alternative for the same job, so it falls short of a 5.

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