Skip to main content
Glama

Carbon Node UK — GHG & DESNZ Carbon Accounting

AI Smart Lookup (Fallback)

smart_lookup_factor
Read-onlyIdempotent

Pro & Enterprise tool. Optional AI-assisted factor matcher for ambiguous descriptions when search_uk_factors does not return an obvious match. Subject to daily quotas (Pro: 2,500/day; Enterprise: 15,000/day).

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": {
      "query": "<query>"
    },
    "name": "smart_lookup_factor"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearNolatest
queryYes
scopeNoOptional: 'Scope 1', 'Scope 2', or 'Scope 3'.
max_alternativesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare this is a safe, idempotent, closed-world read, so the description's main job is operational context — and it delivers plan-tier eligibility and concrete daily quotas (2,500 vs 15,000), which an agent cannot infer elsewhere. It stops short of saying what happens on quota exhaustion or how expensive/slow the AI call is, so it is strong but not complete.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

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

Three tight sentences, front-loaded with eligibility then purpose then the decisive fallback condition and limits. No filler or repetition of the schema.

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

Completeness3/5

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

For a 4-parameter tool with no output schema and thin schema coverage, the description covers routing and quota behavior well but leaves two parameters and the returned alternatives (count, confidence, format) undefined. Adequate to decide whether to call it, insufficient to call it precisely.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 25%: 'query' and 'scope' are documented, but 'year' and 'max_alternatives' carry no explanation in either schema or description. The description adds nothing about how descriptions are matched, what 'max_alternatives' controls, or how 'year' affects factor selection, so the compensation the low coverage demands is absent.

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?

States a specific verb and resource ('AI-assisted factor matcher') plus its differentiating mode ('ambiguous descriptions') and explicitly names the sibling search_uk_factors it complements. An agent can tell immediately this is a fallback matcher rather than a direct search or a calculation tool.

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?

Gives an explicit trigger ('when search_uk_factors does not return an obvious match') and an explicit pre-condition ('ambiguous descriptions'), which effectively also states when not to use it. It adds a plan gate (Pro & Enterprise) so an agent knows whether the caller even qualifies.

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.