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 its place in the Open Footprint model.

Codes on many fields are generic; aligning to one asserts less than it appears.

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": {
      "code": "<code>"
    },
    "name": "ofp_semantic_code"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / properties / code / description
      Removed value: -"O-DEF code, e.g. \"ofp-sustainability:9.102_1.102\""
  2. 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\""
  3. First observed

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so safety is covered. The description contributes one genuine piece of context, warning that generic codes mean alignment 'asserts less than it appears', which is a useful confidence caveat. It says nothing about what the call returns, whether unmatched codes error or return empty, or cost/latency.

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 short sentences: the first front-loads the use case, the second is a caveat. Nothing is padded, though the space saved is partly spent on an ambiguous framing rather than the missing lookup direction.

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

Completeness2/5

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

There is no output schema, so the description should explain what comes back (a model field, a list of candidate paths, a mapping record) and it does not, nor does it document the sole input. For a lookup tool with a single undocumented parameter and no return documentation, key information an agent needs to call it correctly is missing.

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 coverage is 0% with a single required 'code' string, so the schema tells the agent nothing beyond type and length bounds. The description never explains what form the code takes (semantic code, IRI, source-system token) or how it is matched, leaving the one parameter the agent must supply effectively undocumented.

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 description names the domain (Open Footprint model) and a rough operation (placing a source-system field), which is more than a restated title. But the direction of the lookup is fuzzy: the title says 'fields for a semantic code' while the text reads like mapping a field into the model, so an agent cannot be fully certain whether it passes a code and gets fields or the reverse.

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?

'Use this when you have a source-system field and need its place in the Open Footprint model' is a real trigger condition, which is useful. However, no alternative or exclusion is given, even though siblings like ofp_semantics, ofp_semantic_code, semantic_query and ofp_search_entities plausibly overlap; the agent gets no help choosing between them.

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.