Skip to main content
Glama

functiongraph__ListFunctions

Lists functions in a project with pagination and optional package filtering, enabling retrieval of function records for management and monitoring.

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>"
    },
    "name": "functiongraph__ListFunctions"
  }
}

Input Schema

NameRequiredDescriptionDefault
markerNo上一次查询到的最后的记录位置。
maxitemsNo每次查询获取的最大函数记录数量
project_idYes租户项目 ID,获取方式请参见[获取项目ID](functiongraph_06_0260.xml)。
package_nameNo自定义分组名称。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.3/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 discloses nothing about pagination behavior, permission requirements, or what a returned list contains. The presence of marker/maxitems parameters hints at paging, but that comes from the schema, not the description.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single sentence is short but that brevity reflects under-specification rather than economy; there is no structure, no front-loaded scope, and no useful content beyond restating the title.

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

Completeness1/5

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

For a four-parameter, paginated list tool with no annotations and no output schema, the description supplies nothing about return shape, paging semantics, or scope. It is not sufficient for an agent to call the tool confidently.

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 four parameters (marker, maxitems, project_id, package_name) are already documented in the schema. The description adds no meaning beyond that, which sets the baseline at 3.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/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 (获取函数列表 / get function list), so the basic operation is identifiable. However, it gives no scope or filtering qualifiers, so an agent cannot tell it apart from siblings such as ListBridgeFunctions, ListAllFunctions, or ListFunctionVersions beyond guessing from their names.

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 (e.g. that project_id is mandatory), and no reference to alternative tools for related queries. The agent must infer usage entirely from the tool name and the sibling list.

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