Skip to main content
Glama

functiongraph__CreateVpcEndpoint

Creates a VPC endpoint for FunctionGraph, linking a tenant VPC and subnet to enable private access to serverless functions.

Instructions

[FUNCTIONGRAPH] 创建下沉入口。(该功能目前仅支持华北-北京四、华东-上海一、华东-上海二、西南-贵阳一)

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": {
      "project_id": "<project_id>",
      "subnet_id": "<subnet_id>",
      "vpc_id": "<vpc_id>"
    },
    "name": "functiongraph__CreateVpcEndpoint"
  }
}

Input Schema

NameRequiredDescriptionDefault
xroleNo制作EP时使用的租户委托名称
flavorNo选定EP的规格,默认为大规格
vpc_idYes对接EP使用的租户VPCID
subnet_idYes对接EP使用的租户子网ID
project_idYes租户项目 ID,获取方式请参见[获取项目ID](functiongraph_06_0260.xml)。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden, and it only discloses the regional availability constraint. It says nothing about required IAM agency delegation (implied by the xrole parameter), whether the endpoint creation is asynchronous or takes time to become active, or whether the operation is reversible.

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?

It is a single compact sentence with the operation front-loaded and the constraint immediately after, with zero filler. The terseness borders on under-specification, but nothing is redundant.

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?

For a five-parameter mutating tool with no annotations and no output schema, the definition is thin: it never explains what a '下沉入口' provides, what happens on success, or what prerequisites (VPC/subnet, agency) must exist. The region note is the only context supplied.

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%, so every parameter (project_id, vpc_id, subnet_id, xrole, flavor) is already documented in the schema. The description adds no extra meaning about parameter interactions or defaults, so the baseline 3 is appropriate.

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+resource pair, "创建下沉入口" (create a private/VPC endpoint), scoped to FunctionGraph, so an agent knows the operation and object. It does not explicitly differentiate from other endpoint-creation tools (dns__CreateEndpoint, apig__CreateVpcChannelV2), but the FunctionGraph prefix and the distinct resource keep it unambiguous enough.

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?

The parenthetical lists the four regions where the feature is supported, which is a real precondition for calling the tool. However, it offers no when-to-use vs. when-not guidance and never points to alternatives such as DeleteVpcEndpoint for cleanup or other services' endpoint tools.

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

Deploy Server

Other Tools