Skip to main content
Glama
Feishu MCP Server
by zjdx10

feishu_call_api

Calls any Feishu Open Platform API when built-in tools do not cover your use case, automatically handling authentication tokens for direct endpoint requests.

Instructions

通用飞书 API 调用工具。当封装的工具不满足需求时,用这个直接调用任意飞书开放平台接口。 会自动处理认证 token。 参考文档: https://open.feishu.cn/document

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": {
      "method": "<method>",
      "path": "<path>"
    },
    "name": "feishu_call_api"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNo请求体(GET 请求时会作为 query params)
pathYesAPI 路径,如 /docx/v1/documents
methodYesHTTP 方法

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses that authentication tokens are handled automatically (so the agent supplies no credential) and points to official docs, but it never mentions that method allows DELETE/PUT/PATCH, says nothing about required permission scopes, rate limits, or error responses for arbitrary endpoints.

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?

Three short sentences, front-loaded with purpose then the usage condition, with zero filler. The doc URL line earns its place for an arbitrary-endpoint tool, though the opening '通用' phrasing is slightly vague compared with the precise fallback clause that follows.

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 high-complexity generic proxy that can reach any endpoint and perform writes, an agent still lacks response shape, permission requirements, and pagination guidance. The automatic-auth note and documentation link mitigate this, but the description is thin relative to the tool's blast radius.

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%: method enum, path example, and the note that body becomes query params on GET are all already in the schema. The description adds no additional parameter meaning, so the baseline of 3 applies.

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

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Names a specific verb and resource (directly call any Feishu Open Platform API) and explicitly positions itself against the wrapped sibling tools by saying it is the fallback when those don't meet the need. An agent can tell from the description alone that this is the generic escape hatch rather than a task-specific tool.

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?

Gives a clear use condition: 'when the encapsulated tools don't satisfy the requirement'. The alternative (use the wrapped tools) is implied by that same clause. It does not state when this tool should NOT be used, e.g. for simple cases already covered by siblings, so it stops short of a 5.

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