Skip to main content
Glama
juspay

FDEP MCP Server

by juspay

get_function_context

Retrieve complete context for a Haskell function including all used types, functions, and dependencies to understand its implementation and relationships within the codebase.

Instructions

Get complete context for a function including all used types and functions

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
function_nameYesName of the function
module_nameNoModule containing the function (optional)
include_promptsNoInclude formatted prompts for types and functions
include_local_definitionsNoInclude local type and function definitions
include_external_referencesNoInclude external type and function references
Behavior2/5

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

No annotations are provided, so the description carries full burden. It states the tool retrieves context but doesn't disclose behavioral traits like whether it's read-only, what format the output is in, potential performance implications, or error conditions. This is inadequate for a tool with 5 parameters and no output schema.

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?

The description is a single, efficient sentence that front-loads the core purpose. Every word earns its place with no redundancy or fluff, making it easy to parse quickly.

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?

Given the tool's complexity (5 parameters, no output schema, no annotations), the description is incomplete. It doesn't explain what 'complete context' entails in practice, how results are structured, or usage trade-offs. This leaves significant gaps for an agent to understand the tool's behavior and output.

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%, so parameters are well-documented in the schema. The description adds no additional meaning beyond implying 'function_name' is required and that context includes 'types and functions', which aligns with schema parameters like 'include_local_definitions'. Baseline 3 is appropriate as the schema does the heavy lifting.

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 clearly states the verb ('Get') and resource ('complete context for a function'), specifying what it retrieves ('all used types and functions'). It distinguishes from siblings like 'get_function_details' or 'get_function_callers' by focusing on comprehensive context rather than specific aspects, though it doesn't explicitly name alternatives.

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 is provided. With many sibling tools for function analysis (e.g., 'get_function_details', 'get_function_callees'), the description lacks context on scenarios where this comprehensive context tool is preferred over more targeted ones.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/juspay/fdep-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server