Skip to main content
Glama

functiongraph__ShowVersionAlias

Retrieves details for a specified FunctionGraph function version alias using the function URN, alias name, and project ID.

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": {
      "alias_name": "<alias_name>",
      "function_urn": "<function_urn>",
      "project_id": "<project_id>"
    },
    "name": "functiongraph__ShowVersionAlias"
  }
}

Input Schema

NameRequiredDescriptionDefault
alias_nameYes要查询的别名名称。
project_idYes租户项目 ID,获取方式请参见[获取项目ID](functiongraph_06_0260.xml)。
function_urnYes函数的URN,详细解释见FunctionGraph函数模型的描述。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it only says 'get alias information'. It does not confirm the operation is a non-mutating read, does not describe what fields are returned, and does not mention failure behavior when function_urn or alias_name is unknown. It adds essentially nothing beyond the verb in the tool name.

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?

A single short sentence with no filler, and the resource and scope are front-loaded. It is not bloated, though the terseness is partly the shortfall noted in other dimensions rather than pure efficiency.

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

Completeness3/5

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

For a simple three-parameter, fully documented read tool with no output schema, the definition is minimally adequate: the agent knows what to fetch and which identifiers to supply. It is thin on return content and error conditions, which for a no-annotation tool leaves a real gap, though not a blocking one.

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 all three path parameters (alias_name, project_id, function_urn) are already documented in the schema, including examples and a link for acquiring project_id. The description only implies that alias_name selects the record and adds no format or scoping nuance beyond the schema, 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 states a specific verb (获取/get) and a specific resource (函数的版本别名 / a function's version alias), and the qualifier '指定的' makes clear this returns one named alias rather than a collection, distinguishing it from ListVersionAliases. It does not explicitly name the sibling alternatives, but the read semantics are unambiguous.

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?

Usage is only implied: an agent can infer this is the lookup to call when it already knows an alias_name and needs that alias's details, versus ListVersionAliases for enumeration or Create/Update/Delete for mutation. There is no explicit when-to-use or when-not-to-use statement and no mention of prerequisites such as the alias needing to exist.

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