Skip to main content
Glama

Open Footprint: fields for a semantic code

ofp_semantic_code
Read-onlyIdempotent

Use this when you have a source-system field and need to find where it belongs in the Open Footprint model.

Codes carried by more than ten fields are generic classifications; aligning to one asserts less than it appears.

Input Schema

NameRequiredDescriptionDefault
codeYesO-DEF code, e.g. "ofp-sustainability:9.102_1.102"

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#"
    • changedInput schema / properties / code / description
      Previous value: -"O-DEF code, e.g. \"ofp-sustainability:9.102_1.102\" (registry v3.0.0 numbers plugin extensions in the O-DEF 100-series)"New value: +"O-DEF code, e.g. \"ofp-sustainability:9.102_1.102\""
  2. First observed

TDQS

B3.3/5.0
Behavior3/5

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

The annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description adds real value beyond that with the caveat that codes carried by many fields are generic classifications and alignment to them asserts less than it appears — useful interpretive context. It still says nothing about what is returned or how many results to expect, which matters because there is no output schema.

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?

Two sentences, front-loaded with the usage trigger, and no filler. The second sentence is terse to the point of being cryptic ('asserts less than it appears'), but it does carry a substantive caution rather than padding.

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?

Scored against a one-parameter, read-only lookup with full annotation coverage and full schema description coverage, the description supplies the usage trigger plus the one non-obvious caveat about generic classifications. The main remaining gap — return shape — is partly offset by that caveat, and the directional wording is already penalized under purpose clarity.

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 coverage is 100% and the single `code` parameter is documented with a concrete O-DEF example, so the schema carries the semantics. The description refers obliquely to 'a source-system field' and to codes without adding format, validation, or resolution rules beyond the schema. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The title promises 'fields for a semantic code' (code in, fields out), but the description frames it in the opposite direction: 'you have a source-system field and need to find where it belongs.' The required parameter is a code, so the description leaves the lookup direction ambiguous and an agent cannot tell with certainty whether it resolves code→fields or field→code.

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?

There is a genuine use-case trigger ('when you have a source-system field'), which is more than nothing. But it never names alternatives such as ofp_semantics, semantic_query, or ofp_search_entities, and gives no condition for choosing this tool over them or any precondition for obtaining a valid O-DEF code.

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.