Skip to main content
Glama

get_object_info

Read-only

Fetch D365 F&O object metadata for multiple object types in one batch call. Use type-specific flags to get member names, method signatures, XML, or extension details without multiple round trips.

Instructions

Read D365FO object metadata. For 2+ objects pass objects:[{objectType,objectName},…] (max 10) — ONE call, run in parallel, per-object sections back; never loop single calls. One object: {objectType, name}. Pick the kind via objectType: class, table, form, query, view, enum, edt, report, data-entity, menu-item, service, map, config-key, security-policy, macro. Extension types (table-extension, form-extension, enum-extension, edt-extension, data-entity-extension) list all extensions of a base object — pass the base object name or a full extension name (the dot suffix is stripped automatically). Type-specific flags go in options. For CLASSES, {"members":"names"} (optional {"prefix":...}) returns a fast IntelliSense-style member-name list instead of full metadata. Replaces the former get__info, code_completion, batch_get_info and get_method tools.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoExact object name (use search first if unsure). REQUIRED unless using objects[].
objectsNoPREFERRED for 2+ objects: read them all in one round trip. Each entry takes the same objectType/options as the single form, with the name in objectName.
optionsNoType-specific reader flags: includeRdl (report), searchControl/maxControls (form), compact/methodOffset (class), fieldsOffset/fieldFilter (table), filter (macro), mode (edt), includeFields, includeOperations, modelName. On class/table/view/data-entity, {"method":"validateWrite","include":"signature"} returns ONE method (include: signature | source | both) — required before writing a CoC extension. {"include":"xml"} returns raw AOT XML + its path (page: startLine/endLine) — never shell out to find or read a file. Applies to every objects[] entry.
objectTypeNoKind of object to read (incl. *-extension types — pass base object name or full extension name). REQUIRED unless using objects[].
Behavior5/5

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

Annotations already provide readOnlyHint=true and openWorldHint=false, but the description adds crucial behavioral details: parallel execution, the max 10 object limit, automatic dot-suffix stripping, the IntelliSense-style fast return for class members, and the raw XML retrieval that returns file paths. It even cautions to 'never shell out to find or read a file.' This transparently discloses behavior beyond annotations with no contradictions.

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?

The description is a single dense paragraph that front-loads the core purpose and then packs in critical usage rules. While long, each clause carries essential information for a tool with 20+ object types and varied options. The structure is slightly linear and could benefit from bullet points, but it remains efficient and purposeful.

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

Completeness5/5

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

Given the tool's complexity and the absence of an output schema, the description is remarkably complete. It covers batching, all supported object types including extensions, the class-member shortcut, options for various object kinds, return format ('per-object sections back'), and replacements for prior tools. There is no significant gap that would leave an agent guessing.

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

Parameters5/5

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

Schema description coverage is 100%, so a baseline of 3 applies, but the description substantially enriches parameter meaning. It clarifies that 'objects' is preferred over multiple single calls, that objectType includes extension types in the enum, and that options contains type-specific flags like 'includeRdl' and 'method'. It also explains how the name parameter interacts with extension objects, which is not evident from the schema alone.

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?

The description begins with the direct statement 'Read D365FO object metadata,' which clearly specifies the verb (read) and resource (D365FO object metadata). It distinguishes itself from siblings by noting 'Replaces the former get_<type>_info, code_completion, batch_get_info and get_method tools,' making its scope unmistakable.

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

Usage Guidelines5/5

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

The description gives extensive when-to-use guidance: for batching multiple objects, passing an objects array in ONE call, and explicitly instructing 'never loop single calls.' It also explains how to handle extension types and when to use class member-name mode. This goes far beyond generic directions.

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/dynamics365ninja/d365fo-mcp-server'

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