Skip to main content
Glama

Wisp

Get function

get_function
Read-only

A function's current draft code and settings.

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": "<project>",
      "function": "<function>"
    },
    "name": "get_function"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectYesProject id (p…) or address (slug)
functionYesFunction name (e.g. "orders") or id (e…)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so safety is covered; the description's only added behavioral fact is that the returned code and settings are the current *draft*, not the published version — a genuinely useful distinction for an agent deciding what it is looking at. It says nothing about what happens if the function does not exist or how much code is returned, which leaves the disclosure thin for a read tool.

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?

There is no wasted wording, but the single noun phrase lacks a verb and reads as a caption rather than a definition, meaning the concision comes at the cost of specification rather than from tight editing.

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

Completeness4/5

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

For a two-parameter read-only lookup with full schema coverage and no output schema, the essentials are nearly covered: the agent knows what resource is addressed and that draft rather than published content is returned. What is missing is minor — nothing on absence/error behavior — and annotations carry the safety profile.

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%, and the schema already explains that project accepts an id or slug and function accepts a name or id, so the description is not required to compensate. It adds no meaning beyond the schema — no note on scope resolution or defaults — so the baseline of 3 applies.

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 fragment "A function's current draft code and settings" identifies the resource and what is returned, but supplies no verb, so the agent must infer that this is a read of existing draft content rather than something derived from siblings like update_function or invoke_function. It distinguishes draft (unpublished) state, which is a meaningful signal, but the purpose statement is too elliptical to be rated clear.

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, and no routing to alternatives such as get_project for project metadata or publish for promoting a draft. The agent gets a subject matter but no condition that selects this tool over its siblings.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources