Skip to main content
Glama
Critical Raw Minerals & ESG Compliance Oracle(x402)

Critical Raw Minerals & ESG Compliance Oracle(x402)

get_battery_cell_passport_sample

Read-onlyIdempotent

Retrieve an EU 2023/1542 and US IRA Section 30D compliant, EIP-712 dual-signed battery passport sample for standard chemistries, returning JSON verdict, audit metadata, and cryptographic reference.

Instructions

Retrieves official EU 2023/1542 & US IRA Section 30D compliant EIP-712 dual-signed battery passport sample for any standard chemistry (NCM811, NCM9, NCA, NCMA, LFP, SOLID_STATE) with stoichiometric CAM ratios, energy densities, and Polygon Merkle Root. Returns structured JSON verdict, audit metadata, and cryptographic reference. Free endpoint (no x402 payment required).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_battery_cell_passport_sample"
  }
}

Input Schema

NameRequiredDescriptionDefault
cell_chemistryNoBattery cell architecture: NCM811 (Ternary), NCM9 (Ultra-High Ni 9½½), NCA (High-Power), NCMA (Quaternary), LFP (Zero-Co/Ni), SOLID_STATE (All-Solid-State ASB)NCM811
battery_pack_idNoOptional custom pack serial ID
pack_capacity_kwhNoOptional custom capacity in kWh

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.0.11
    • addedInput schema / additionalProperties
      Added value: +false
    • changedInput schema / properties / cell_chemistry / description
      Previous value: -"Battery cell architecture: NCM811, NCM9, NCA, NCMA, LFP, SOLID_STATE"New value: +"Battery cell architecture: NCM811 (Ternary), NCM9 (Ultra-High Ni 9½½), NCA (High-Power), NCMA (Quaternary), LFP (Zero-Co/Ni), SOLID_STATE (All-Solid-State ASB)"
  2. Addedv1.0.10

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and non-destructive behavior, so the description is not required to establish safety. It goes beyond them by disclosing the signing scheme (EIP-712 dual-signed), the anchoring artifact (Polygon Merkle Root), and that the endpoint is free of x402 payment — genuinely useful operational detail. It does not mention rate limits or whether values are deterministic per chemistry, which keeps it from 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.

Conciseness3/5

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

Purpose is front-loaded in the first clause, which is good, but the single-sentence body is packed with regulatory citations and marketing phrasing ("official EU 2023/1542 & US IRA Section 30D compliant") that adds bulk without helping an agent decide or call correctly. Splitting usage facts (sample vs. real, free endpoint) from the return-value summary would improve scanability.

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, the description carries the burden of describing returns and does so explicitly: structured JSON verdict, audit metadata, and cryptographic reference. Combined with the free-endpoint note, an agent has enough to call this correctly, though the sample-vs-live distinction against the verification sibling remains under-specified.

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 description coverage is 100%, including the enum labels for each chemistry and per-parameter descriptions, so the baseline is 3. The description restates the chemistry list and mentions stoichiometric CAM ratios and energy densities, but adds no syntax, format, or interaction detail (e.g., what happens to defaults when battery_pack_id is supplied) 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?

Opens with a specific verb ("Retrieves") and a well-defined resource ("battery passport sample") scoped to enumerated cell chemistries. It is clear what an agent gets back, but it never distinguishes this from the sibling verify_composite_battery_passport, leaving ambiguity about which tool produces vs. validates a passport.

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

Usage Guidelines3/5

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

The word "sample" and "Free endpoint (no x402 payment required)" imply this is for demo/test data and that cost is not a barrier, which is useful context. However, there is no explicit when-to-use or when-not-to-use guidance, and no named alternative (e.g., verify_composite_battery_passport) for agents that need real verification rather than sample data.

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