Skip to main content
Glama

function.callees

Lists the functions called by a specified function, helping reverse engineers map call relationships and trace execution paths.

Instructions

List the functions called by a specific function.

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>",
      "function_start": "<function_start>"
    },
    "name": "function.callees"
  }
}

Input Schema

NameRequiredDescriptionDefault
session_idYes
function_startYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.8/5.0
Behavior2/5

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

With no annotations and no output schema, the description carries the full behavioral burden but discloses almost nothing: no statement about whether the call list is direct-only or recursive, whether results are sorted, whether pagination applies, or what the return values look like. 'List' implies read-only, but that is only inference.

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

Conciseness5/5

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

A single front-loaded sentence with no filler or redundancy. It is as compact as a description can be, though that brevity is the source of gaps measured elsewhere.

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 two-required-parameter query tool with zero schema coverage and no output schema, the definition omits critical calling information: the identity/format of function_start and the shape of the returned call list. An agent could invoke it, but only by guessing at the parameter semantics.

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

Parameters2/5

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

Both parameters have 0% schema description coverage, and the description adds no meaning: it never explains what session_id identifies or how function_start should be expressed, despite the oneOf integer/string ambiguity (address vs. name vs. index). Only the vague implication that function_start identifies the target function is conveyed.

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 specific verb and resource: 'List the functions called by a specific function.' An agent can tell this is a call-graph query. However, it does not differentiate itself from the sibling function.callers, which is the inverse relationship, leaving the agent to infer the direction.

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 reference to the closely related function.callers alternative. The agent must infer usage entirely from the one-line purpose.

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