Skip to main content
Glama

Update infrastructure feature class

update_infrastructure_feature_class
DestructiveIdempotent

Update a tenant-defined infrastructure feature class (addressed by code). The code, category, and is_builtin fields are immutable; attempts to change them on a builtin class return 409. Requires infrastructure_feature_classes:write scope.

Input Schema

NameRequiredDescriptionDefault
codeYesAsset class code (lowercase snake_case, 1-50 chars)
iconNoIcon name
labelNoDisplay name
color_hexNoDisplay colour as hex, e.g. #3B82F6
sort_orderNoSort order

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 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 / sort_order / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / sort_order / minimum
      Added value: +-9007199254740991
  2. Changed4 schema fields changed
    • changedInput schema / $schema
      Previous value: -"https://json-schema.org/draft/2020-12/schema"New value: +"http://json-schema.org/draft-07/schema#"
    • addedInput schema / additionalProperties
      Added value: +false
    • removedInput schema / properties / sort_order / maximum
      Removed value: -9007199254740991
    • removedInput schema / properties / sort_order / minimum
      Removed value: --9007199254740991
  3. Changed4 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 / sort_order / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / sort_order / minimum
      Added value: +-9007199254740991
  4. First observed

TDQS

A4/5.0
Behavior4/5

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

Goes beyond the annotations by disclosing auth requirements (infrastructure_feature_classes:write scope), which fields are immutable (code, category, is_builtin), and the concrete failure mode (409 for builtin classes). It does not clarify whether omitted fields are left unchanged (partial update) or cleared, which matters given destructiveHint=true.

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 short sentences, front-loaded with what the tool does, followed by immutability and auth facts. No filler, no restatement of the tool name.

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

Completeness4/5

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

With no output schema and full schema coverage, the remaining burden is behavioral, and the description covers scope, immutability and the 409 case. It still leaves update semantics (partial vs full replace, effect on dependent assets) unstated.

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%, so icon, label, color_hex and sort_order are already documented in the schema; the description adds no syntax or constraint detail for them. It does flag code as the addressing/immutable key and mentions category/is_builtin, but those two are not accepted parameters, so the guidance is only partly usable.

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 (Update) and resource (infrastructure feature class) plus the addressing key (code) and the scope restriction (tenant-defined). Combined with the update_/create_/delete_/get_/list_ sibling naming, an agent can select this tool without inspecting the schema.

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?

Implicitly the tool is for modifying an existing class addressed by code, and the description supplies prerequisites (write scope, immutability). However, it names no alternative tools and never states when not to use it (e.g. use create_infrastructure_feature_class to define new classes, or update_* for asset-level changes).

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