Skip to main content
Glama

Get database item

engine_get
Read-onlyIdempotent

Detail for one engine-catalog object by ref: p<N>, e<N>, f<N> or m<N>. Refs come from engine_search and name objects in the source's database. Polymorphic on the prefix: p<N> → process, e<N> → engine product system, f<N> → flow, m<N> → LCIA method. A workspace s<N> is a different object, read with lca_get(ref='s<N>'); this tool rejects it. Process detail defaults to a summary of both sides (top 20 each: product flows first, then elementary, grouped by unit, largest amount first); section='inputs'|'outputs' with offset pages one side, and limit (max 100) sizes the page. Every heading states the true total; a follow-up hint appears whenever rows remain. include_providers=true on a flow ref lists the processes that produce it. An m<N> returns the method's categories; section='factors' adds their characterization factors (rarely needed). A process's exchange rows and reference product carry f<N> refs, which the compose and edit tools accept directly.

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": {
      "ref": "<ref>"
    },
    "name": "engine_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
refYesThe item to look up — a reference like p1, e3 or f7 taken from an earlier search. Run `engine_search` first if you don't have one.
limitNoHow many rows to show per side. Default 20, up to 100.
offsetNoSkip this many rows to page further down the list. Starts at 0 (the top).
sourceNoName of the source, as `lca_get(kind='sources')` lists it (case-insensitive). Omitted: this connection's default source. Not combined with `scope_ref`, which picks the database a ref came from.
sectionNoProcesses: show only the inputs (what the process uses) or only the outputs (what it makes or emits), one page at a time; leave unset for a short summary of both. Methods: `factors` adds the characterization factors of each impact category (heavy; rarely needed).
include_providersNoAlso list the processes that produce this flow — i.e. where it comes from. Flows only.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / properties / engine
      Removed value: -{
      -  "description": "Name of the engine database, as `lca_get(kind='engines')` lists it (case-insensitive). Omitted: this connection's default engine. Not combined with `scope_ref`, which picks the database a ref came from.",
      -  "maxLength": 255,
      -  "minLength": 1,
      -  "type": "string"
      -}
    • addedInput schema / properties / source
      Added value: +{
      +  "description": "Name of the source, as `lca_get(kind='sources')` lists it (case-insensitive). Omitted: this connection's default source. Not combined with `scope_ref`, which picks the database a ref came from.",
      +  "maxLength": 255,
      +  "minLength": 1,
      +  "type": "string"
      +}
  2. Changed2 schema fields changed
    • changedInput schema / properties / section / description
      Previous value: -"Show only the inputs (what the process uses) or only the outputs (what it makes or emits), one page at a time. Leave unset for a short summary of both. Processes only."New value: +"Processes: show only the inputs (what the process uses) or only the outputs (what it makes or emits), one page at a time; leave unset for a short summary of both. Methods: `factors` adds the characterization factors of each impact category (heavy; rarely needed)."
    • changedInput schema / properties / section / enum
      Previous value: -[
      -  "inputs",
      -  "outputs"
      -]New value: +[
      +  "inputs",
      +  "outputs",
      +  "factors"
      +]
  3. Changed3 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / offset / maximum
      Added value: +9007199254740991
  4. Changed1 schema field changed
    • addedInput schema / properties / engine
      Added value: +{
      +  "description": "Name of the engine database, as `lca_get(kind='engines')` lists it (case-insensitive). Omitted: this connection's default engine. Not combined with `scope_ref`, which picks the database a ref came from.",
      +  "maxLength": 255,
      +  "minLength": 1,
      +  "type": "string"
      +}
  5. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare the safe read-only, idempotent profile, and the description adds substantial behavior beyond them: the default two-sided summary with top 20 per side, ordering rules (product flows first, then elementary, grouped by unit, largest first), pagination with limit max 100, true totals in every heading, follow-up hints when rows remain, and explicit rejection of s<N>. That is exactly the return-shape and paging context annotations cannot carry.

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?

Front-loaded with purpose and ref syntax, then progressively narrows to per-type behavior and output chaining. It is dense but nearly every clause carries operational information; a slight cost is that paging and per-type rules are packed into one long paragraph rather than separated.

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

Completeness5/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 return-value burden and does: default summary shape, ordering, totals, hint availability, and what factors mode adds. The closing note that exchange rows carry f<N> refs usable by compose/edit tools completes the chaining story for a 6-parameter polymorphic tool.

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, but the description earns more: it decodes what each ref prefix resolves to, explains that section values are type-dependent (inputs/outputs for processes, factors for methods), and restricts include_providers to flow refs. Only source is left to the schema, which handles it well.

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 description opens with a specific verb and resource ('Detail for one engine-catalog object by ref') and immediately decodes the polymorphic ref grammar (p/e/f/m). It explicitly distinguishes itself from lca_get for workspace refs ('A workspace s<N> is a different object... this tool rejects it'), so an agent can route without opening any schema.

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

Usage Guidelines5/5

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

It states the prerequisite (refs come from engine_search), the exact alternative for the excluded case (lca_get(ref='s<N>')), and when to reach for each option: leave section unset for a summary, use section+offset to page one side, include_providers for flows, section='factors' for methods. When-not guidance ('rarely needed' for factors, rejects s<N>) is present alongside when guidance.

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.

Resources