Skip to main content
Glama

Import field catalog

get_import_field_catalog
Read-onlyIdempotent

List the fields an import can fill for one kind of record (the UEF field catalog), so you can map spreadsheet columns to them. Pass the SAME target_type as the import job (EVENT, LEAD, INVENTORY, MEMBER, VENUE, CUSTOMER, SONG, SETLIST, PACK_ITEM); defaults to EVENT.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_import_field_catalog"
  }
}

Input Schema

NameRequiredDescriptionDefault
target_typeNoEVENT, LEAD, INVENTORY, MEMBER, VENUE, CUSTOMER, SONG, SETLIST, PACK_ITEM; defaults to EVENT
organization_idNoorganization to act in, an id from get_me; omit to use your active organization

Output Schema

NameRequiredDescriptionDefault
okYestrue on success (including confirmation_required prompts)
dataNothe API response { status (HTTP status), data: { schema_version, target_type, fields } }
errorNowhen ok is false

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedInput schema / properties / organization_id / description
      Previous value: -"defaults to your active organization"New value: +"organization to act in, an id from get_me; omit to use your active organization"
    • changedInput schema / properties / target_type / description
      Previous value: -"EVENT, LEAD, INVENTORY, or MEMBER; defaults to EVENT"New value: +"EVENT, LEAD, INVENTORY, MEMBER, VENUE, CUSTOMER, SONG, SETLIST, PACK_ITEM; defaults to EVENT"
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • addedOutput schema / properties / data / additionalProperties
      Added value: +{}
    • changedOutput schema / properties / data / description
      Previous value: -"tool payload (API/composite/confirmation object); object, array, or primitive JSON"New value: +"the API response { status (HTTP status), data: { schema_version, target_type, fields } }"
    • addedOutput schema / properties / data / properties
      Added value: +{
      +  "data": {
      +    "additionalProperties": {},
      +    "properties": {
      +      "fields": {
      +        "anyOf": [
      +          {
      +            "items": {
      +              "additionalProperties": {},
      +              "properties": {
      +                "description": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "examples": {
      +                  "anyOf": [
      +                    {
      +                      "items": {
      +                        "type": "string"
      +                      },
      +                      "type": "array"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "label": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "path": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "required": {
      +                  "type": [
      +                    "boolean",
      +                    "null"
      +                  ]
      +                },
      +                "type": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "schema_version": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "target_type": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "status": {
      +    "type": "number"
      +  }
      +}
    • addedOutput schema / properties / data / type
      Added value: +"object"
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "data": {
      +      "description": "tool payload (API/composite/confirmation object); object, array, or primitive JSON"
      +    },
      +    "error": {
      +      "description": "when ok is false",
      +      "type": "string"
      +    },
      +    "ok": {
      +      "description": "true on success (including confirmation_required prompts)",
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "ok"
      +  ],
      +  "type": "object"
      +}
  3. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and closed-world scope, so the safety profile is covered. The description adds useful behavior beyond that: the catalog is per-record-type, is the UEF field catalog, and must be consistent with the import job's target_type. Missing only return-shape details, which the output schema covers.

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?

Two sentences, front-loaded with the purpose and followed by the one operational rule that matters. No filler, no restatement of the title.

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?

For a read-only, two-parameter catalog lookup with full schema coverage and an output schema, the description supplies everything needed: what it returns conceptually, its scoping rule, and the default. Nothing essential is missing.

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 the baseline is 3; the description earns a bump by adding the cross-tool constraint 'Pass the SAME target_type as the import job', which is semantics the schema cannot express. It redundantly repeats the enum list and the EVENT default that the schema already documents, but organization_id is left to the schema.

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 uses a specific verb and resource ('List the fields an import can fill for one kind of record') and gives the reason for doing so ('so you can map spreadsheet columns to them'). The import-domain scope is clear enough to separate it from the many get_event/get_org siblings, though it does not name the import tools it complements.

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

Usage Guidelines4/5

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

It states the operative condition clearly: pass the SAME target_type as the import job, which tells the agent this is a pre-mapping step scoped to a specific import. It stops short of naming the sibling tools (map_import, preview_import) or stating exclusions, so it is clear context without explicit alternatives.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.