Skip to main content
Glama
mayjack0312
by mayjack0312

eda_sys_client_url_request

Make URL requests with any HTTP method from EasyEDA Pro to fetch data or interact with APIs. Use custom headers and body content to control the request.

Instructions

sys_ClientUrl.request(url: string, method?: 'GET' | 'POST' | 'HEAD' | 'PUT' | 'DELETE' | 'PATCH', data?: string | Blob | FormData | URLSearchParams, options?: { headers?: { [header: string]: any }; integrity?: string }, succeedCallFn?: (data: Response) => void | Promise) -> Promise 发起即时请求 returns: Fetch 的返回结果

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
argsNo按官方签名顺序排列的JSON参数数组
windowIdNo目标EDA窗口ID;省略时使用当前活动窗口

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations are absent, so the description carries the full burden. It only states that it returns a Fetch result, which is already implied by the signature. It does not disclose potential side effects, async behavior, network failures, CORS restrictions, or any limitations. Minimal behavioral disclosure.

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

Conciseness3/5

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

The description is compact, consisting of a single-line signature and a brief Chinese phrase. It is front-loaded with the signature, but the lack of explanatory structure or sections makes it less scannable and does not help an agent quickly grasp semantics beyond the types.

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 multiple parameters and no output schema, the description is incomplete. It does not explain the return value structure (beyond 'Fetch result'), error handling, or how to construct the 'data' or 'options' objects. An agent would likely need additional documentation to invoke it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description includes the full function signature with all parameters and their types (url, method, data, options, succeedCallFn), which significantly exceeds the input schema that only describes an 'args' array and 'windowId'. However, it lacks natural-language explanations of what each parameter does beyond names, so it falls short of a 5.

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 clear verb ('发起即时请求' / initiate immediate request) and the resource (a client URL request via sys_ClientUrl.request). It is distinct from siblings like websocket or iframe tools, though it doesn't explicitly name any alternative. The signature makes the intent unambiguous.

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?

No guidance on when to use this tool versus alternatives, no mention of prerequisites, context, or exclusions. It simply states the action without any use-case context or conditions for selection.

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