Skip to main content
Glama

functiongraph__ShowFuncSnapshotState

Check whether snapshot creation is enabled for a FunctionGraph function and view its snapshot state using the function URN 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": {
      "action": "<action>",
      "function_urn": "<function_urn>",
      "project_id": "<project_id>"
    },
    "name": "functiongraph__ShowFuncSnapshotState"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYes查询快照制作开关状态
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

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden, yet it only implies a read operation through the verb 查询. It does not mention return values, permissions, or that the action parameter also accepts 'enableSnapshot', which suggests a potentially mutating capability that the read-only framing obscures.

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 the resource and operation front-loaded and no filler. It is efficient, though its brevity borders on under-specification rather than optimal conciseness.

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 tool with three required path parameters, no annotations, and no output schema, one sentence leaves significant gaps. The agent gets no information about what the returned state looks like or how the 'enableSnapshot' action differs from 'state', which the description never addresses.

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%, with all three path parameters documented, including the action enum and the function_urn format. The description adds no meaning beyond the schema, so the baseline of 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 and resource combination: querying (查询) function snapshot creation status (函数快照制作状态). An agent can tell this retrieves status rather than modifying snapshots. However, it does not name or distinguish itself from the sibling functiongraph__UpdateFuncSnapshot, which likely manages the same snapshot resource.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no mention of prerequisites such as required permissions or the function needing to exist, and no reference to alternatives like UpdateFuncSnapshot. The agent must infer usage entirely from the one-line purpose.

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