Skip to main content
Glama
packetfabric-mcp

packetfabric-mcp

Official
by PacketFabric

pf_call_endpoint

Read-only

Call any PacketFabric API endpoint by operation_id to read or modify networking resources. Writes return a dry-run preview unless confirmed, so you can review changes before executing.

Instructions

Call any PacketFabric API endpoint by operation_id.

Reads run immediately. Writes (create/modify/delete — may create billable services) are only possible when the server was started with PF_ALLOW_WRITES=true, and return a dry-run preview unless confirm=true. Always show the user the preview and get explicit approval before re-calling with confirm=true.

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": {
      "operation_id": "<operation_id>"
    },
    "name": "pf_call_endpoint"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoJSON request body for POST/PUT/PATCH.
fieldsNoOnly return these keys from each item (dot paths allowed, e.g. 'interfaces'). Omit for all.
paramsNoPath and query parameters by name, e.g. {'port_circuit_id': 'PF-AP-LAX1-1234', 'since': '1 day ago'}. Lists are sent as repeated query params.
confirmNoRequired true to actually execute a write. Without it, writes return a preview only.
max_itemsNoCap on list items returned.
operation_idYesFrom pf_search_endpoints.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.8

TDQS

A3.6/5.0
Behavior2/5

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

Beyond the annotations, the description discloses the most important behavior: writes may create billable services, are gated behind a server flag, and produce a dry-run preview until confirm=true. However, this directly conflicts with the supplied readOnlyHint=true annotation, which would lead an annotation-only agent to assume unrestricted read-only safety.

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 the capability, then the read/write split, then the approval workflow. No filler; every sentence carries operational weight.

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 generic dispatcher with six parameters and an output schema (so return values need no explanation), the definition covers the safety-critical write path well. It is slightly incomplete on sibling selection and on how operation_id is discovered (pf_search_endpoints is only mentioned in the schema), but nothing required for correct invocation is absent.

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 description coverage is 100%, and each parameter (body, fields, params, confirm, max_items, operation_id) is well documented in the schema itself. The description mostly restates the confirm semantics already present in the schema and adds no format or size details beyond it, so the baseline 3 applies.

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 gives a specific verb and resource ('Call any PacketFabric API endpoint by operation_id') and makes clear this is the generic dispatch path rather than a typed helper. It never explicitly contrasts itself with the many typed siblings (pf_get_port, pf_list_ports, etc.), so an agent must infer that this is the escape hatch.

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?

Strong conditional guidance: reads run immediately, writes require PF_ALLOW_WRITES=true, and writes return a dry-run preview unless confirm=true, with an explicit instruction to get user approval before re-calling. What is missing is routing guidance — nothing says to prefer the dedicated sibling tools when one exists and fall back to this only for uncovered operations.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.