Skip to main content
Glama

external.function.create

Create an external function symbol under a specified external library location, tying imported functions to their source library for analysis.

Instructions

Create an external function symbol under an external location.

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": {
      "session_id": "<session_id>",
      "library_name": "<library_name>",
      "name": "<name>"
    },
    "name": "external.function.create"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
session_idYes
library_nameYes
external_addressNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.4/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full behavioral burden and discloses almost nothing: not whether the operation fails on duplicates, what permissions or session state are required, whether external_address is optional or how it is resolved, or what the response contains. The only behavioral hint is the parent-child relationship to an external location.

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?

A single front-loaded sentence with no wasted words, but for a four-parameter creation tool it is under-specified rather than concise. Efficiency is good; sufficiency is not.

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?

No annotations, no output schema, and 0% schema description coverage mean the description is the only documentation, and it omits prerequisites, parameter meanings, and side effects. The domain relationship to an external location is conveyed, but an agent cannot confidently construct a correct call from this alone.

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

Parameters1/5

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

All four parameters (session_id, library_name, name, external_address) have zero schema description coverage, and the description names none of them or explains their format, mutual constraints, or defaults. The oneOf type on external_address (integer vs string) is especially unexplained in both places.

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?

States a specific verb and resource ('Create an external function symbol') plus a scoping constraint ('under an external location'), which separates it from the plain function.create sibling. It does not explicitly name or contrast with sibling tools, keeping it below a 5.

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 guidance on when to use this versus function.create, external.library.create, or external.entrypoint.add, and no preconditions stated (e.g., that the external location and library must already exist). Usage must be inferred entirely from the name and the phrase 'under an external location'.

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