Skip to main content
Glama

Opsphere — DevOps & SRE Intelligence

Cloudflare: load balancer detail

cf_load_balancer_get
Read-only

Get Load Balancer detail: pools, origins (healthy/unhealthy), steering, session affinity. Requires zone or zoneOrId. loadBalancerId from cf_load_balancers_list.

Input Schema

NameRequiredDescriptionDefault
zoneNoZone name (e.g. your-tenant.com) or zone ID — required if zoneOrId omitted
zoneOrIdNoZone name (e.g. your-tenant.com) or zone ID — required if zone omitted
accountIdNoCloudflare account ID; overrides CLOUDFLARE_ACCOUNT_ID and zone.account.id
context_idNoOptional explicit Connection Hub work context (ctx_*). Omit to use the conversation's active workspace; global Hub tools ignore it.
account_slugNoCloudflare account slug. Required when the workspace has multiple accounts and the zone is not yet cataloged.
loadBalancerIdYesLoad Balancer ID
environment_slugNoCloud Catalog environment used as an account-routing preference when no zone is provided.

Output Schema

NameRequiredDescriptionDefault
okYes
dataYes
contractVersionYes
dataSchemaVersionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed16 schema fields changed
    • changedOutput schema / properties / data / additionalProperties
      Previous value: -trueNew value: +false
    • removedOutput schema / properties / data / properties / count
      Removed value: -{
      -  "type": "number"
      -}
    • removedOutput schema / properties / data / properties / errors
      Removed value: -{
      -  "items": {
      -    "$ref": "#/properties/data/properties/result/anyOf/0/items"
      -  },
      -  "type": "array"
      -}
    • addedOutput schema / properties / data / properties / gaps
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • removedOutput schema / properties / data / properties / items
      Removed value: -{
      -  "$ref": "#/properties/data/properties/result/anyOf/0"
      -}
    • addedOutput schema / properties / data / properties / loadBalancer
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "defaultPools": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "enabled": {
      +      "type": "boolean"
      +    },
      +    "fallbackPool": {
      +      "type": "string"
      +    },
      +    "id": {
      +      "type": "string"
      +    },
      +    "name": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "id",
      +    "name"
      +  ],
      +  "type": "object"
      +}
    • removedOutput schema / properties / data / properties / messages
      Removed value: -{
      -  "items": {
      -    "anyOf": [
      -      {
      -        "type": "string"
      -      },
      -      {
      -        "$ref": "#/properties/data/properties/result/anyOf/0/items"
      -      }
      -    ]
      -  },
      -  "type": "array"
      -}
    • addedOutput schema / properties / data / properties / partial
      Added value: +{
      +  "type": "boolean"
      +}
    • removedOutput schema / properties / data / properties / result
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "items": {
      -        "additionalProperties": true,
      -        "properties": {},
      -        "type": "object"
      -      },
      -      "type": "array"
      -    },
      -    {
      -      "$ref": "#/properties/data/properties/result/anyOf/0/items"
      -    }
      -  ]
      -}
    • removedOutput schema / properties / data / properties / result_info
      Removed value: -{
      -  "$ref": "#/properties/data/properties/result/anyOf/0/items"
      -}
    • removedOutput schema / properties / data / properties / success
      Removed value: -{
      -  "type": "boolean"
      -}
    • addedOutput schema / properties / data / properties / truncated
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / data / properties / warnings
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / data / required
      Added value: +[
      +  "loadBalancer",
      +  "partial",
      +  "truncated",
      +  "warnings",
      +  "gaps"
      +]
    • addedOutput schema / properties / dataSchemaVersion
      Added value: +{
      +  "const": 2,
      +  "type": "number"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "contractVersion",
      -  "ok",
      -  "data"
      -]New value: +[
      +  "contractVersion",
      +  "dataSchemaVersion",
      +  "ok",
      +  "data"
      +]
  2. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds that origin health (healthy/unhealthy) is surfaced, which hints at behavioral richness, but since an output schema exists, describing return contents carries only modest incremental value and no auth/rate-limit/edge-case behavior is disclosed.

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 clauses, zero filler, and the informative part (what detail is returned) is front-loaded ahead of the precondition and ID provenance. Nothing could be removed without losing signal.

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?

For a single-object read tool with a full output schema and 100% parameter coverage, the description supplies purpose, required input, and how to obtain the ID — enough to call it correctly. It omits nothing critical, though a note on zone-vs-accountId routing overlap would close the final gap.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline would be 3; the description raises it by explaining where loadBalancerId comes from (cf_load_balancers_list), which is genuine guidance the schema does not contain. The "requires zone or zoneOrId" sentence merely restates the schema's mutual-exclusion note, and the other five routing parameters are untouched.

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 ("Get Load Balancer detail") and enumerates the payload an agent cares about: pools, origin health, steering, session affinity. It also explicitly distinguishes itself from the sibling cf_load_balancers_list by naming it as the source of the required ID.

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?

"Requires zone or zoneOrId. loadBalancerId from cf_load_balancers_list" gives a clear precondition and a concrete call-order dependency, which is the key routing decision here. It stops short of exclusion guidance (e.g. when to prefer cf_lb_pools_list or cf_lb_monitors_list instead).

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