Skip to main content
Glama

entity_get_schema

Retrieve the full property schema, inheritance chain, primary value key, and canonical JSON/XML examples for a Maltego entity type so you can build or validate entities accurately.

Instructions

Return the full property schema, inheritance chain, primary value key, and canonical JSON/XML examples for a Maltego entity type.

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": {
      "type": "<type>"
    },
    "name": "entity_get_schema"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeYesMaltego entity type ID (e.g. maltego.Domain, maltego.Website).
customDirNoOptional directory to scan for custom .entity XML files when resolving type or baseEntities.
includeInheritedNoInclude fields inherited from baseEntities in the returned schema (default: true).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It discloses the shape of the response (schema, inheritance chain, primary value key, examples), which is real value with no output schema present, but it is silent on whether customDir triggers filesystem scanning side effects, what happens for an unknown type, or whether the lookup is purely local versus server-backed.

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?

One sentence, front-loaded with the verb, then a tight enumeration of outputs. Zero filler and nothing redundant.

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

Completeness4/5

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

For a read-only lookup with fully documented parameters and no output schema, the description adequately covers what comes back. The remaining gap is failure behavior for an unresolvable type or a customDir without matching .entity files, which an agent would want to know before calling.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3, and the description pushes slightly above it by tying 'inheritance chain' to the includeInherited flag and 'full property schema' to the resolution scope, reinforcing the schema's own wording. It adds no example values or format rules beyond what the schema already documents for type and customDir.

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 ('Return') and enumerates the exact resources produced: property schema, inheritance chain, primary value key, and canonical JSON/XML examples for a Maltego entity type. An agent can distinguish this lookup tool from entity_list_types or entity_create_definition by what it returns, though no sibling is named explicitly.

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?

Usage is only implied: an agent infers this is the introspection/ reference step before entity_build or entity_create_definition. There is no explicit when-to-use clause, no statement of when it is unnecessary (e.g. after entity_list_types already returned details), and no alternatives named.

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