Skip to main content
Glama

Get factor pack

get_factor_pack
Read-onlyIdempotent

Return factors, GWP values, conversions, sources, and pack SHA for one exact bundled region/year. No nearest-region or nearest-year substitution.

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": "<region>",
      "year": "<year>"
    },
    "name": "get_factor_pack"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearYesFactor year, for example 2023; see list_factor_packs.
regionYesRegion code, for example US, US-CAMX or UK; see list_factor_packs.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  2. Changed2 schema fields changed
    • addedInput schema / properties / region / description
      Added value: +"Region code, for example US, US-CAMX or UK; see list_factor_packs."
    • addedInput schema / properties / year / description
      Added value: +"Factor year, for example 2023; see list_factor_packs."
  3. First observed

TDQS

A3.6/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. The description adds two useful behavioral facts beyond them: the response includes pack SHA (enabling downstream verification) and lookups will not fall back to nearest values. Return format and pagination, however, are left to the output schema.

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?

Two tight sentences with the payload front-loaded and the exactness constraint immediately after; no filler. Slightly clipped grammar in the second sentence, but nothing is wasted.

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 an output schema handling return values and full annotation coverage, the description need only convey the exact-match requirement and the nature of the payload, which it does. A pointer to how to obtain valid region/year pairs in the description itself would close the remaining gap.

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 coverage is 100%, with region and year each documented and pointed at list_factor_packs, so the baseline is 3. The description reinforces that both values must correspond to an exactly bundled pair rather than an approximated one, adding modest meaning beyond the schema.

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 uses a specific verb ("Return") and enumerates the resource contents (factors, GWP values, conversions, sources, pack SHA) scoped to "one exact bundled region/year." That scope statement implicitly separates it from list_factor_packs, 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?

It supplies a clear negative usage rule — no nearest-region or nearest-year substitution — which tells an agent this call must use exact valid identifiers and will not gracefully approximate. It stops short of stating the alternative (call list_factor_packs first to discover valid region/year values), which the schema parameter descriptions carry instead.

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.