Skip to main content
Glama
StefanMaron

AL MCP Server

by StefanMaron

al_get_object_definition

Retrieve AL object definitions from compiled code by ID or name, using summary mode for token efficiency and optional limits for large objects.

Instructions

Get AL object definition from YOUR WORKSPACE. Retrieves compiled code structure by ID or name. Use summaryMode:true for token efficiency. Use limits for large objects.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
objectIdNoObject ID
objectNameNoObject name (alternative to ID)
objectTypeNoObject type
packageNameNoPackage (for disambiguation)
includeFieldsNoInclude table fields
includeProceduresNoInclude procedures
summaryModeNoSummary view (recommended)
fieldLimitNoMax fields (10 summary/100 full)
procedureLimitNoMax procedures (10 summary/50 full)
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 mentions retrieving compiled code structure but does not disclose behavioral traits such as read-only nature, auth requirements, rate limits, or side effects.

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

Conciseness4/5

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

Three sentences with clear front-loading of purpose, followed by method and usage tips. No filler, but could be slightly more detailed without major bloat.

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

Completeness3/5

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

With 9 parameters and no output schema, the description is terse. It covers key usage tips but lacks explanation of return format or how fields like includeFields affect output. Average completeness for complexity.

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 baseline 3. Description adds value with usage guidance like 'summaryMode for token efficiency' and 'limits for large objects', but does not substantially enhance parameter meaning beyond schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Clearly states the verb 'Get' and resource 'AL object definition' with specific retrieval methods by ID or name. Distinguishes from sibling tools like al_find_references and al_get_object_summary by focusing on full definition retrieval.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides tips for token efficiency with summaryMode and limits for large objects, but lacks explicit when-to-use or when-not-to-use compared to sibling tools like al_get_object_summary.

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/StefanMaron/AL-Dependency-MCP-Server'

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