GET /v1/tools
The tool catalogue: OpenAI function-calling shape and MCP shape, the rate card and the auth rule.
Server: https://gridforge-engine.fly.dev · Operation ID: tools · TS SDK: client.tools()
Behaviour & Evidence Boundary
Returns `tools` (name, description, endpoint, method, tier, units, returns, inputSchema), `openai`, `mcp` (endpoint, protocol, protocolVersion, tools), `auth`, `payg`, `rate_card` (every weighted route, including /v1/deck which is not a tool) and `evidence_note`. This document and the site's /reference/tools.json are generated from the same catalogue. Free, no key.
Call via cURL, TypeScript SDK & Python CLI
curl -sS -X GET "https://gridforge-engine.fly.dev/v1/tools"import { GridForgeClient } from "@timetopower/gridforge-sdk";
const client = new GridForgeClient();
const result = await client.tools();
console.log(result);gridforge toolsRequest Contract & Input Schema
This read endpoint takes no request body and no required query parameters.
Response Schema, Headers & Error Codes
Responses carry X-GridForge-Schema: gridforge/api/1, x-request-id, metering headers (X-GridForge-Units, X-GridForge-Units-Month, X-GridForge-Units-Remaining), rate-limit headers (RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset), and RFC 9745/8594 Deprecation / Sunset headers when applicable. POST calls accept Idempotency-Key up to 150 characters.
{
"type": "object",
"required": [
"tools",
"openai",
"mcp",
"auth",
"payg",
"rate_card",
"evidence_note",
"schema_version"
],
"properties": {
"schema_version": {
"type": "string",
"description": "The engine's API schema id, added to every JSON object response."
},
"tools": {
"type": "array",
"items": {
"type": "object"
}
},
"openai": {
"type": "array",
"items": {
"type": "object"
}
},
"mcp": {
"type": "object",
"properties": {
"endpoint": {
"type": "string"
},
"protocol": {
"type": "string"
},
"protocolVersion": {
"type": "string"
},
"tools": {
"type": "array",
"items": {
"type": "object"
}
}
}
},
"auth": {
"type": "object",
"properties": {
"header": {
"type": "string"
},
"note": {
"type": "string"
}
}
},
"payg": {
"type": "object",
"properties": {
"unit_price_cents": {
"type": "integer"
},
"currency": {
"type": "string"
},
"min_invoice_cents": {
"type": "integer"
},
"free_allowance_units": {
"type": "integer"
},
"billing_rule": {
"type": "string"
}
},
"description": "The pay-as-you-go terms: the engine's own statement, the only place this contract's prices live."
},
"rate_card": {
"type": "array",
"items": {
"type": "object",
"properties": {
"endpoint": {
"type": "string"
},
"units": {
"type": "integer"
},
"tool": {
"type": [
"string",
"null"
]
}
}
}
},
"evidence_note": {
"type": "string"
}
},
"additionalProperties": true
}| Status | Condition |
|---|---|
| 400 | the body is not valid JSON or not a JSON object, or the Idempotency-Key is longer than the limit |
| 401 | a metered route was called without a key, or with one the engine does not accept |
| 402 | the key's monthly allowance or cap is spent; the call was refused and not charged. Buy more, do not retry |
| 409 | the requested action conflicts with current readiness or state (for example require_rfq_ready on an architecture that is not yet RFQ-ready) |
| 422 | the input is too thin or invalid, or an Idempotency-Key was reused with a different body; nothing was solved |
| 429 | the per-client request rate limit was exceeded; wait and retry (the limit is rate_limit_per_minute at /v1/version) |
| 503 | paid endpoints are not configured on that deployment, or a charge could not be recorded durably |
Worked Example (examples/intake/reference_hall.json)
SYNTHETIC REFERENCE DATASYNTHETIC REFERENCE DATA — every request and response in this file was generated deterministically by running the real GridForge Python engine against examples/intake/reference_hall.json. Not a measurement of any customer asset.
{
"schema_version": "gridforge/api/1",
"tools": [
{
"name": "gridforge_qualify",
"description": "Free. Up to seven numbers about an existing air-cooled hall in (at least three; each one you leave out is an assumption named in the answer), one answer out: which physical constraint binds first when you try to deploy AI racks in it, how many racks fit as found, and which item sets the time to power (labelled 'assumed lead time, not a date' when that item's lead time is an assumption). Use this to triage a portfolio before paying for anything.",
"endpoint": "/v1/qualify",
"method": "POST",
"tier": "public",
"units": 0,
"returns": "binding constraint, racks as found and after relief (each with racks_evidence, the evidence class of that rack count as a short code such as E0: the weakest class among the constraints that cap it), the item that sets the date (null, with sets_the_date_reason, when no date can be given: nothing is deployable, or a lead time on the path is missing because transformers or UPS were not declared), and the inputs nobody has measured (when you send assumed_fields, also inputs_declared_assumed, which lists only what you declared; when you send contracted_MW and no firm_capacity_MVA, the firm capacity the qualifier derived is a required grid.firm_capacity_MVA row in intake.gaps, as an assumption). No capital cost or dated lead times in this free read: the metered /v1/compare (it needs an API key) returns indicative capital and weeks with evidence classes, and the paid documents add the full cost\n... [truncated synthetic output; full length 910 chars]",
"evidence_boundary": "Directional only: a figure you send is treated as yours (E5) unless you name it in assumed_fields (E0), what you leave out is assumed and disclosed in intake.gaps, and this free answer carries no capital cost and no dated lead time.",
"inputSchema": {
"type": "object",
"description": "Seven figures about one air-cooled hall, and some options. Send at least three of these seven figures; each one you omit is an assumption named in the answer (library default, listed under intake.gaps and, with the way you left it out, under figures_not_supplied). Fewer than three is refused with 422, and no one figure is required: any three are enough. A figure sent as null is not sent: it counts as omitted, and the answer says so. Each figure you do send is checked by its own name against the same plausibility bounds the engine's intake uses (a refusal names the figure you sent, with the limit). The engine does not validate a request against this schema before running it: a key that is not listed here is not read as a figure and is ignored, except cost_evidence, which this route does not take and refuses with 422.",
"properties": {
"contracted_MW": {
"type": "number",
"description": "Contracted grid capacity, MW."
},
"current_site_peak_MW": {
"type": "number",
"description": "Current site peak demand, MW."
},
"current_it_load_MW": {
"type": "number",
"description": "Current IT load, MW."
},
"busway_ampacity_A": {
"type": "number",
"description": "Installed busway ampacity, A."
},
"tapoff_max_A": {
"type": "number",
"description": "Largest installed tap-off rating, A."
},
"plant_supply_C": {
"type": "number",
"description": "Chilled-water design supply temperature, °C."
},
"positions_available": {
"type": "integer",
"description": "Rack positions that can be released."
},
"firm_capacity_MVA": {
"type": "number",
"description": "Optional. Firm capacity of the grid connection, MVA, sent as a plain number. It is a real input: a value below the connection the engine would otherwise derive lowers the firm-supply headroom. Omit it (and send contracted_MW) and the engine derives one from contracted_MW, records it as an assumption (E0) that is not supplied, and adds a required grid.firm_capacity_MVA row to intake.gaps. It is not listed in inputs_declared_assumed, which holds only what you declared. firm_capacity_MVA cannot be named in assumed_fields."
},
"platform": {
"type": "string",
"enum": [
"gb200_nvl72",
"gb300_nvl72",
"generic_dlc_50"
],
"default": "gb300_nvl72",
"description": "Optional. The rack platform the hall is tested against (GET /v1/platforms lists them). It sets the per-rack electrical and thermal load, so it changes the result. An id the library does not carry is refused with 422."
},
"objective": {
"type": "string",
"enum": [
"max_compute",
"min_cost",
"fastest"
],
"default": "max_compute",
"description": "What the recommendation optimises for."
},
"assumed_fields": {
"type": "array",
"items": {
"type": "string",
"enum": [
"contracted_MW",
"current_site_peak_MW",
"current_it_load_MW",
"busway_ampacity_A",
"tapoff_max_A",
"plant_supply_C"
]
},
"uniqueItems": true,
"maxItems": 7,
"description": "Optional. Declares which of the figures above you are sending as ASSUMPTIONS rather than as this hall's own data, for example values copied from a reference template. Each entry must be one of the seven figures (contracted_MW, current_site_peak_MW, current_it_load_MW, busway_ampacity_A, tapoff_max_A, plant_supply_C, positions_available), named at most once, and the same request must also send that figure (a figure you did not send cannot be declared assumed). Effect: a named figure is classed E0 (assumption) instead of E5 (supplied by the client) in the result's basis and evidence, and is listed in the result's inputs_declared_assumed (path, input, unit, value, evidence \"E0\", note); intake.assumed_count says how many, while intake.completeness and required_inputs_missing still count a declared figure as supplied. It changes the label and not the arithmetic: the racks and the binding cons\n... [truncated synthetic output; full length 1351 chars]"
},
"client": {
"type": "string",
"description": "Optional. Your organisation's name. A label for your own records: the qualifier writes it into the intake it builds and it changes no figure in the result."
},
"reference": {
"type": "string",
"description": "Optional. Your own reference for this hall or request. A label for your own records: the qualifier writes it into the intake it builds and it changes no figure in the result."
},
"site_name": {
"type": "string",
"description": "Optional. The site's name. A label for your own records: the qualifier writes it into the intake it builds and it changes no figure in the result."
},
"metro": {
"type": "string",
"description": "Optional. The metro area. A label for your own records: the qualifier writes it into the intake it builds and it changes no figure in the result."
},
"country": {
"type": "string",
"description": "Optional. The country. A label for your own records: the qualifier writes it into the intake it builds and it changes no figure in the result."
},
"hall_id": {
"type": "string",
"description": "Optional. The hall's identifier. A label for your own records: the qualifier writes it into the intake it builds and it changes no figure in the result."
}
},
"additionalProperties": false
}
},
{
"name": "gridforge_estimate",
"description": "Free, no API key, never metered. What would a call cost? Name an endpoint (and, for the portfolio, how many halls) and get the units, the unit price and the cost in euro cents BEFORE spending anything. With an API key it also says whether the call fits what is left of the key's allowance or cap. Use it before any paid tool, especially in a loop.",
"endpoint": "/v1/estimate",
"method": "POST",
"tier": "public",
"units": 0,
"returns": "endpoint, units, unit_price_cents, estimated_cents, billable, free, the rule that produced the units, and (with a key) the remaining allowance and whether the call fits.",
"evidence_boundary": "Arithmetic on the published rate card, not an engineering result: it prices a call and says whether it fits an allowance, and it runs no model.",
"inputSchema": {
"type": "object",
"required": [
"endpoint"
],
"properties": {
"endpoint": {
"type": "string",
"description": "The engine route to price, e.g. /v1/study."
},
"hall_count": {
"type": "integer",
"minimum": 1,
"description": "Halls in a /v1/portfolio request (one unit each). A portfolio request ranks at most 50 halls: a larger hall_count is refused with 422, as the request would be."
},
"body": {
"type": "object",
"additionalProperties": true,
"description": "Optional: the request body you intend to send; the units are read from it exactly as the meter would."
}
},
"additionalProperties": false
}
},
{
"name": "gridforge_screen",
"description": "Density Screen. A full intake in, a screening read out: every constraint evaluated, and the headroom ladder: each relief in binding order, with its cost, lead time and the racks it unlocks.",
"endpoint": "/v1/screen",
"method": "POST",
"tier": "client",
"units": 1,
"returns": "screen payload (with grid_queue_context: the measured US queue statistic beside the assumed grid wait), or the rendered screening document.",
"evidence_boundary": "Screening mode: the constraints are solved from the intake you send, anything you leave out is filled from library defaults and disclosed as an assumption, and each figure carries its evidence class (E0 to E7).",
"inputSchema": {
"type": "object",
"required": [
"intake"
],
"properties": {
"intake": {
"type": "object",
"description": "A GridForge intake document. GET /v1/intake/template for the blank form with every field, or supply a sparse one — anything absent is filled from library defaults and reported as an assumption. Optional hall.occupied_positions (a non-negative whole number, or {value, evidence, note, source}; E5 when you supply it, never higher) is the number of rack positions already occupied. Omitted, the engine does not know it: it is listed as an optional gap, and the busway check against the load already in the hall reads every position that is not free as occupied and says so as an assumption (E0). Declare 0 to confirm that nothing is occupied. It changes no rack count, cost or date.",
"additionalProperties": true
},
"objective": {
"type": "string",
"enum": [
"max_compute",
"min_cost",
"fastest"
],
"default": "max_compute",
"description": "What the recommendation optimises for."
},
"format": {
"type": "string",
"enum": [
"json",
"md",
"html"
],
"default": "json"
},
"grid_queue_region": {
"type": "string",
"enum": [
"CAISO",
"ERCOT",
"MISO",
"NYISO",
"PJM",
"SPP"
],
"description": "Optional. Which of LBNL's US regions the measured queue statistic in grid_queue_context is drawn from; omit for the pooled US figure. Context only: it changes no number and no date."
},
"electricity_price_state": {
"type": "string",
"enum": [
"Alabama",
"Alaska",
"Arizona",
"Arkansas",
"California",
"Colorado"
],
"description": "Optional. Which US state's published average electricity price retail_price_context is drawn from; omit for the US average. Context only: it changes no price and no cost."
}
},
"additionalProperties": false
}
}
],
"openai": [
{
"type": "function",
"function": {
"name": "gridforge_qualify",
"description": "Free. Up to seven numbers about an existing air-cooled hall in (at least three; each one you leave out is an assumption named in the answer), one answer out: which physical constraint binds first when you try to deploy AI racks in it, how many racks fit as found, and which item sets the time to power (labelled 'assumed lead time, not a date' when that item's lead time is an assumption). Use this to triage a portfolio before paying for anything.",
"parameters": {
"type": "object",
"description": "Seven figures about one air-cooled hall, and some options. Send at least three of these seven figures; each one you omit is an assumption named in the answer (library default, listed under intake.gaps and, with the way you left it out, under figures_not_supplied). Fewer than three is refused with 422, and no one figure is required: any three are enough. A figure sent as null is not sent: it counts as omitted, and the answer says so. Each figure you do send is checked by its own name against the same plausibility bounds the engine's intake uses (a refusal names the figure you sent, with the limit). The engine does not validate a request against this schema before running it: a key that is not listed here is not read as a figure and is ignored, except cost_evidence, which this route does not take and refuses with 422.",
"properties": {
"contracted_MW": {
"type": "number",
"description": "Contracted grid capacity, MW."
},
"current_site_peak_MW": {
"type": "number",
"description": "Current site peak demand, MW."
},
"current_it_load_MW": {
"type": "number",
"description": "Current IT load, MW."
},
"busway_ampacity_A": {
"type": "number",
"description": "Installed busway ampacity, A."
},
"tapoff_max_A": {
"type": "number",
"description": "Largest installed tap-off rating, A."
},
"plant_supply_C": {
"type": "number",
"description": "Chilled-water design supply temperature, °C."
},
"positions_available": {
"type": "integer",
"description": "Rack positions that can be released."
},
"firm_capacity_MVA": {
"type": "number",
"description": "Optional. Firm capacity of the grid connection, MVA, sent as a plain number. It is a real input: a value below the connection the engine would otherwise derive lowers the firm-supply headroom. Omit it (and send contracted_MW) and the engine derives one from contracted_MW, records it as an assumption (E0) that is not supplied, and adds a required grid.firm_capacity_MVA row to intake.gaps. It is not listed in inputs_declared_assumed, which holds only what you declared. firm_capacity_MVA cannot be named in assumed_fields."
},
"platform": {
"type": "string",
"enum": [
"gb200_nvl72",
"gb300_nvl72",
"generic_dlc_50"
],
"default": "gb300_nvl72",
"description": "Optional. The rack platform the hall is tested against (GET /v1/platforms lists them). It sets the per-rack electrical and thermal load, so it changes the result. An id the library does not carry is refused with 422."
},
"objective": {
"type": "string",
"enum": [
"max_compute",
"min_cost",
"fastest"
],
"default": "max_compute",
"description": "What the recommendation optimises for."
},
"assumed_fields": {
"type": "array",
"items": {
"type": "string",
"enum": [
"contracted_MW",
"current_site_peak_MW",
"current_it_load_MW",
"busway_ampacity_A",
"tapoff_max_A",
"plant_supply_C"
]
},
"uniqueItems": true,
"maxItems": 7,
"description": "Optional. Declares which of the figures above you are sending as ASSUMPTIONS rather than as this hall's own data, for example values copied from a reference template. Each entry must be one of the seven figures (contracted_MW, current_site_peak_MW, current_it_load_MW, busway_ampacity_A, tapoff_max_A, plant_supply_C, positions_available), named at most once, and the same request must also send that figure (a figure you did not send cannot be declared assumed). Effect: a named figure is classed E0 (assumption) instead of E5 (supplied by the client) in the result's basis and evidence, and is listed in the result's inputs_declared_assumed (path, input, unit, value, evidence \"E0\", note); intake.assumed_count says how many, while intake.completeness and required_inputs_missing still count a declared figure as supplied. It changes the label and not the arithmetic: the racks and the binding cons\n... [truncated synthetic output; full length 1351 chars]"
},
"client": {
"type": "string",
"description": "Optional. Your organisation's name. A label for your own records: the qualifier writes it into the intake it builds and it changes no figure in the result."
},
"reference": {
"type": "string",
"description": "Optional. Your own reference for this hall or request. A label for your own records: the qualifier writes it into the intake it builds and it changes no figure in the result."
},
"site_name": {
"type": "string",
"description": "Optional. The site's name. A label for your own records: the qualifier writes it into the intake it builds and it changes no figure in the result."
},
"metro": {
"type": "string",
"description": "Optional. The metro area. A label for your own records: the qualifier writes it into the intake it builds and it changes no figure in the result."
},
"country": {
"type": "string",
"description": "Optional. The country. A label for your own records: the qualifier writes it into the intake it builds and it changes no figure in the result."
},
"hall_id": {
"type": "string",
"description": "Optional. The hall's identifier. A label for your own records: the qualifier writes it into the intake it builds and it changes no figure in the result."
}
},
"additionalProperties": false
}
}
},
{
"type": "function",
"function": {
"name": "gridforge_estimate",
"description": "Free, no API key, never metered. What would a call cost? Name an endpoint (and, for the portfolio, how many halls) and get the units, the unit price and the cost in euro cents BEFORE spending anything. With an API key it also says whether the call fits what is left of the key's allowance or cap. Use it before any paid tool, especially in a loop.",
"parameters": {
"type": "object",
"required": [
"endpoint"
],
"properties": {
"endpoint": {
"type": "string",
"description": "The engine route to price, e.g. /v1/study."
},
"hall_count": {
"type": "integer",
"minimum": 1,
"description": "Halls in a /v1/portfolio request (one unit each). A portfolio request ranks at most 50 halls: a larger hall_count is refused with 422, as the request would be."
},
"body": {
"type": "object",
"additionalProperties": true,
"description": "Optional: the request body you intend to send; the units are read from it exactly as the meter would."
}
},
"additionalProperties": false
}
}
},
{
"type": "function",
"function": {
"name": "gridforge_screen",
"description": "Density Screen. A full intake in, a screening read out: every constraint evaluated, and the headroom ladder: each relief in binding order, with its cost, lead time and the racks it unlocks.",
"parameters": {
"type": "object",
"required": [
"intake"
],
"properties": {
"intake": {
"type": "object",
"description": "A GridForge intake document. GET /v1/intake/template for the blank form with every field, or supply a sparse one — anything absent is filled from library defaults and reported as an assumption. Optional hall.occupied_positions (a non-negative whole number, or {value, evidence, note, source}; E5 when you supply it, never higher) is the number of rack positions already occupied. Omitted, the engine does not know it: it is listed as an optional gap, and the busway check against the load already in the hall reads every position that is not free as occupied and says so as an assumption (E0). Declare 0 to confirm that nothing is occupied. It changes no rack count, cost or date.",
"additionalProperties": true
},
"objective": {
"type": "string",
"enum": [
"max_compute",
"min_cost",
"fastest"
],
"default": "max_compute",
"description": "What the recommendation optimises for."
},
"format": {
"type": "string",
"enum": [
"json",
"md",
"html"
],
"default": "json"
},
"grid_queue_region": {
"type": "string",
"enum": [
"CAISO",
"ERCOT",
"MISO",
"NYISO",
"PJM",
"SPP"
],
"description": "Optional. Which of LBNL's US regions the measured queue statistic in grid_queue_context is drawn from; omit for the pooled US figure. Context only: it changes no number and no date."
},
"electricity_price_state": {
"type": "string",
"enum": [
"Alabama",
"Alaska",
"Arizona",
"Arkansas",
"California",
"Colorado"
],
"description": "Optional. Which US state's published average electricity price retail_price_context is drawn from; omit for the US average. Context only: it changes no price and no cost."
}
},
"additionalProperties": false
}
}
}
],
"mcp": {
"endpoint": "/mcp",
"protocol": "jsonrpc-2.0",
"protocolVersion": "2026-11-27",
"tools": [
{
"name": "gridforge_qualify",
"description": "Free. Up to seven numbers about an existing air-cooled hall in (at least three; each one you leave out is an assumption named in the answer), one answer out: which physical constraint binds first when you try to deploy AI racks in it, how many racks fit as found, and which item sets the time to power (labelled 'assumed lead time, not a date' when that item's lead time is an assumption). Use this to triage a portfolio before paying for anything.",
"inputSchema": {
"type": "object",
"description": "Seven figures about one air-cooled hall, and some options. Send at least three of these seven figures; each one you omit is an assumption named in the answer (library default, listed under intake.gaps and, with the way you left it out, under figures_not_supplied). Fewer than three is refused with 422, and no one figure is required: any three are enough. A figure sent as null is not sent: it counts as omitted, and the answer says so. Each figure you do send is checked by its own name against the same plausibility bounds the engine's intake uses (a refusal names the figure you sent, with the limit). The engine does not validate a request against this schema before running it: a key that is not listed here is not read as a figure and is ignored, except cost_evidence, which this route does not take and refuses with 422.",
"properties": {
"contracted_MW": {
"type": "number",
"description": "Contracted grid capacity, MW."
},
"current_site_peak_MW": {
"type": "number",
"description": "Current site peak demand, MW."
},
"current_it_load_MW": {
"type": "number",
"description": "Current IT load, MW."
},
"busway_ampacity_A": {
"type": "number",
"description": "Installed busway ampacity, A."
},
"tapoff_max_A": {
"type": "number",
"description": "Largest installed tap-off rating, A."
},
"plant_supply_C": {
"type": "number",
"description": "Chilled-water design supply temperature, °C."
},
"positions_available": {
"type": "integer",
"description": "Rack positions that can be released."
},
"firm_capacity_MVA": {
"type": "number",
"description": "Optional. Firm capacity of the grid connection, MVA, sent as a plain number. It is a real input: a value below the connection the engine would otherwise derive lowers the firm-supply headroom. Omit it (and send contracted_MW) and the engine derives one from contracted_MW, records it as an assumption (E0) that is not supplied, and adds a required grid.firm_capacity_MVA row to intake.gaps. It is not listed in inputs_declared_assumed, which holds only what you declared. firm_capacity_MVA cannot be named in assumed_fields."
},
"platform": {
"type": "string",
"enum": [
"gb200_nvl72",
"gb300_nvl72",
"generic_dlc_50"
],
"default": "gb300_nvl72",
"description": "Optional. The rack platform the hall is tested against (GET /v1/platforms lists them). It sets the per-rack electrical and thermal load, so it changes the result. An id the library does not carry is refused with 422."
},
"objective": {
"type": "string",
"enum": [
"max_compute",
"min_cost",
"fastest"
],
"default": "max_compute",
"description": "What the recommendation optimises for."
},
"assumed_fields": {
"type": "array",
"items": {
"type": "string",
"enum": [
"contracted_MW",
"current_site_peak_MW",
"current_it_load_MW",
"busway_ampacity_A",
"tapoff_max_A",
"plant_supply_C"
]
},
"uniqueItems": true,
"maxItems": 7,
"description": "Optional. Declares which of the figures above you are sending as ASSUMPTIONS rather than as this hall's own data, for example values copied from a reference template. Each entry must be one of the seven figures (contracted_MW, current_site_peak_MW, current_it_load_MW, busway_ampacity_A, tapoff_max_A, plant_supply_C, positions_available), named at most once, and the same request must also send that figure (a figure you did not send cannot be declared assumed). Effect: a named figure is classed E0 (assumption) instead of E5 (supplied by the client) in the result's basis and evidence, and is listed in the result's inputs_declared_assumed (path, input, unit, value, evidence \"E0\", note); intake.assumed_count says how many, while intake.completeness and required_inputs_missing still count a declared figure as supplied. It changes the label and not the arithmetic: the racks and the binding cons\n... [truncated synthetic output; full length 1351 chars]"
},
"client": {
"type": "string",
"description": "Optional. Your organisation's name. A label for your own records: the qualifier writes it into the intake it builds and it changes no figure in the result."
},
"reference": {
"type": "string",
"description": "Optional. Your own reference for this hall or request. A label for your own records: the qualifier writes it into the intake it builds and it changes no figure in the result."
},
"site_name": {
"type": "string",
"description": "Optional. The site's name. A label for your own records: the qualifier writes it into the intake it builds and it changes no figure in the result."
},
"metro": {
"type": "string",
"description": "Optional. The metro area. A label for your own records: the qualifier writes it into the intake it builds and it changes no figure in the result."
},
"country": {
"type": "string",
"description": "Optional. The country. A label for your own records: the qualifier writes it into the intake it builds and it changes no figure in the result."
},
"hall_id": {
"type": "string",
"description": "Optional. The hall's identifier. A label for your own records: the qualifier writes it into the intake it builds and it changes no figure in the result."
}
},
"additionalProperties": false
},
"_meta": {
"gridforge/units": 0,
"gridforge/tier": "public",
"gridforge/endpoint": "/v1/qualify"
}
},
{
"name": "gridforge_estimate",
"description": "Free, no API key, never metered. What would a call cost? Name an endpoint (and, for the portfolio, how many halls) and get the units, the unit price and the cost in euro cents BEFORE spending anything. With an API key it also says whether the call fits what is left of the key's allowance or cap. Use it before any paid tool, especially in a loop.",
"inputSchema": {
"type": "object",
"required": [
"endpoint"
],
"properties": {
"endpoint": {
"type": "string",
"description": "The engine route to price, e.g. /v1/study."
},
"hall_count": {
"type": "integer",
"minimum": 1,
"description": "Halls in a /v1/portfolio request (one unit each). A portfolio request ranks at most 50 halls: a larger hall_count is refused with 422, as the request would be."
},
"body": {
"type": "object",
"additionalProperties": true,
"description": "Optional: the request body you intend to send; the units are read from it exactly as the meter would."
}
},
"additionalProperties": false
},
"_meta": {
"gridforge/units": 0,
"gridforge/tier": "public",
"gridforge/endpoint": "/v1/estimate"
}
},
{
"name": "gridforge_screen",
"description": "Density Screen. A full intake in, a screening read out: every constraint evaluated, and the headroom ladder: each relief in binding order, with its cost, lead time and the racks it unlocks.",
"inputSchema": {
"type": "object",
"required": [
"intake"
],
"properties": {
"intake": {
"type": "object",
"description": "A GridForge intake document. GET /v1/intake/template for the blank form with every field, or supply a sparse one — anything absent is filled from library defaults and reported as an assumption. Optional hall.occupied_positions (a non-negative whole number, or {value, evidence, note, source}; E5 when you supply it, never higher) is the number of rack positions already occupied. Omitted, the engine does not know it: it is listed as an optional gap, and the busway check against the load already in the hall reads every position that is not free as occupied and says so as an assumption (E0). Declare 0 to confirm that nothing is occupied. It changes no rack count, cost or date.",
"additionalProperties": true
},
"objective": {
"type": "string",
"enum": [
"max_compute",
"min_cost",
"fastest"
],
"default": "max_compute",
"description": "What the recommendation optimises for."
},
"format": {
"type": "string",
"enum": [
"json",
"md",
"html"
],
"default": "json"
},
"grid_queue_region": {
"type": "string",
"enum": [
"CAISO",
"ERCOT",
"MISO",
"NYISO",
"PJM",
"SPP"
],
"description": "Optional. Which of LBNL's US regions the measured queue statistic in grid_queue_context is drawn from; omit for the pooled US figure. Context only: it changes no number and no date."
},
"electricity_price_state": {
"type": "string",
"enum": [
"Alabama",
"Alaska",
"Arizona",
"Arkansas",
"California",
"Colorado"
],
"description": "Optional. Which US state's published average electricity price retail_price_context is drawn from; omit for the US average. Context only: it changes no price and no cost."
}
},
"additionalProperties": false
},
"_meta": {
"gridforge/units": 1,
"gridforge/tier": "client",
"gridforge/endpoint": "/v1/screen"
}
}
]
},
"auth": {
"header": "X-API-Key",
"note": "gridforge_qualify and gridforge_estimate are free and need no key. Everything else meters."
},
"payg": {
"unit_price_cents": 200,
"currency": "eur",
"min_invoice_cents": 500,
"free_allowance_units": 25,
"billing_rule": "A month's charge is the net ledger units for the UTC month (charges minus refunds) at €2 a unit, invoiced monthly in arrears. A month whose charge is under the €5 minimum invoice is not invoiced on its own: it is carried forward and added to the next month, and so on from month to month. A balance that never reaches €5 is never invoiced. A request that is rejected, unauthorised, invalid or fails is refunded and never charged, and a retry with the same Idempotency-Key is never charged twice. Free-allowance usage is never invoiced. The customer's own monthly cap is a hard stop: beyond it the engine answers 402 and nothing more accrues."
},
"rate_card": [
{
"endpoint": "/mcp",
"units": 0,
"tool": null
},
{
"endpoint": "/v1/bids",
"units": 2,
"tool": "gridforge_bids"
},
{
"endpoint": "/v1/calibration",
"units": 0,
"tool": null
},
{
"endpoint": "/v1/calibration/residuals",
"units": 0,
"tool": null
},
{
"endpoint": "/v1/compare",
"units": 1,
"tool": "gridforge_compare"
},
{
"endpoint": "/v1/deck",
"units": 3,
"tool": null
}
],
"evidence_note": "Every numeric field in a response carries an evidence class (E0 assumed … E7 observed in operation) and a provenance digest. An agent consuming these must not present an E0 or E1 figure as a property of the physical asset. The calibration block states how far this engine has been reconciled against site data; where it says uncalibrated, it means uncalibrated."
}