Skip to main content
Glama

Open Footprint: sector guardrails

ofp_policies
Read-onlyIdempotent

Use this when a user asks which validation rules apply to a sector's records. For regulations use compliance_policies.

inputs lists e-ledger fields policies read (e.g. co2e_kg), not canonical names. published:false means no rules; never invent guardrails.

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": {
      "id": "<id>"
    },
    "name": "ofp_policies"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • removedInput schema / properties / id / description
      Removed value: -"Sector id, e.g. \"extractives\""
  2. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description adds real behavioral context beyond that: policies are keyed to e-ledger field names rather than canonical names, and 'published:false' signals an empty rule set, with an explicit warning never to invent guardrails — useful anti-hallucination framing.

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 the usage trigger, then the alternative route, then behavioral notes — no wasted sentences. The second and third sentences are telegraphic ('inputs lists e-ledger fields policies read'), which is compact but reads awkwardly.

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?

With no output schema and no annotations beyond the safety hints, the description carries the burden of explaining results, and it does partially: it names the 'inputs' and 'published' fields and their meaning. However, the required 'id' is unexplained and the overall response shape is only sketched, leaving meaningful gaps for a lookup tool.

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 0% and the single required parameter 'id' is never explained — it is not stated whether it is a sector id, sector code, or policy id. The sentence about 'inputs' describes returned policy content, not the input parameter, so the description leaves the only input undocumented in both schema and prose.

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 states a specific resource (validation rules / guardrails for a sector's records) and distinguishes it from the regulatory sibling compliance_policies. It never explicitly ties the tool name ofp_policies or the required 'id' to 'sector', so the identity of the keyed resource is slightly ambiguous, but an agent can still tell what the tool returns.

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 gives an explicit trigger ('when a user asks which validation rules apply to a sector's records') and a routing rule to an alternative ('For regulations use compliance_policies'). No further when-not conditions or edge cases (e.g. unknown sector id) are stated, so it stops short of a full 5.

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.