IT Glue
v0.4.0IT Glue MCP server for MSPs — documents, flexible assets, semantic vector search, RBAC, and BYOK
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
itglue_list_organizations List IT Glue Organizations
Search and list IT Glue organizations. Use this first to find the organization ID required by document and flexible-asset tools. filter_name matches partially and case-insensitively; filter_id is exact. Results are paginated. List items carry summary fields; use itglue_get_organization for the full record.
| Parameter | Type | Description |
|---|---|---|
filter_id | integer | Filter by organization ID |
filter_name | string | Filter by organization name (partial match) |
page_number | integer | Page number (default 1) |
page_size | integer | Results per page (default 50, max 1000) |
response_format | string | Output format: human-readable markdown (default) or structured JSON |
sort | string | Sort field, prefix with "-" for descending (e.g. "name", "-updated_at") |
itglue_get_organization Get IT Glue Organization
Get a single IT Glue organization by ID.
| Parameter | Type | Description |
|---|---|---|
organization_id * | integer | The organization ID |
response_format | string | Output format: human-readable markdown (default) or structured JSON |
itglue_list_documents List IT Glue Documents
List documents in an organization, including documents nested in folders. Returns summary metadata only — use itglue_get_document for content and the full record. filter_name matches partially and case-insensitively. The endpoint returns root-level documents by default, so this tool issues a second query for folder-nested documents and merges the results (up to 2x page_size items).
| Parameter | Type | Description |
|---|---|---|
organization_id * | integer | Organization ID to list documents for |
filter_id | integer | Filter by document ID |
filter_name | string | Filter by document name (partial match) |
page_number | integer | Page number (default 1) |
page_size | integer | Results per page (default 50, max 1000) |
response_format | string | Output format: human-readable markdown (default) or structured JSON |
sort | string | Sort field (e.g. "name", "-updated_at") |
itglue_list_document_folders List IT Glue Document Folders
List the document folders (directories) in an organization, including nested folders. Returns summary metadata only (name, parent folder, document count). Use this to discover a document_folder_id for itglue_create_document, or to browse an organization's document tree. filter_name matches partially and case-insensitively; parent_id is the number in a folder's URL. A folder with parent_id null is top-level.
| Parameter | Type | Description |
|---|---|---|
organization_id * | integer | Organization ID to list folders for |
filter_id | integer | Filter by folder ID |
filter_name | string | Filter by folder name (partial match) |
page_number | integer | Page number (default 1) |
page_size | integer | Results per page (default 50, max 1000) |
response_format | string | Output format: human-readable markdown (default) or structured JSON |
sort | string | Sort field (e.g. "name", "-updated_at") |
itglue_get_document Get IT Glue Document
Get a document by ID with all of its sections and their content. Section content is stored as HTML; markdown output converts it to plain text. If the response is truncated, fetch individual sections with itglue_get_document_section.
| Parameter | Type | Description |
|---|---|---|
document_id * | integer | The document ID |
response_format | string | Output format: human-readable markdown (default) or structured JSON |
itglue_create_document Create IT Glue Document
Create a new document as a DRAFT in an organization. Add content with itglue_create_document_section, then make it visible with itglue_publish_document.
| Parameter | Type | Description |
|---|---|---|
name * | string | Document name/title |
organization_id * | integer | Organization to create the document in |
document_folder_id | integer | Folder to place the document in (the number in the folder's URL); root when omitted |
response_format | string | Output format: human-readable markdown (default) or structured JSON |
itglue_update_document Update IT Glue Document
Rename a document (metadata only). To change content, use itglue_update_document_section.
| Parameter | Type | Description |
|---|---|---|
document_id * | integer | The document ID to update |
name * | string | New document name |
response_format | string | Output format: human-readable markdown (default) or structured JSON |
itglue_publish_document Publish IT Glue Document
Publish a draft document, making it visible to users with access.
| Parameter | Type | Description |
|---|---|---|
document_id * | integer | The document ID to publish |
itglue_delete_documents Delete IT Glue Documents
PERMANENTLY delete one or more documents, including all their sections. This cannot be undone.
| Parameter | Type | Description |
|---|---|---|
document_ids * | array | IDs of the documents to delete |
itglue_list_document_sections List IT Glue Document Sections
List the sections of a document in position order, with content previews and section IDs (needed for update/delete operations). List items carry summary fields and a bounded content_preview; use itglue_get_document_section for full content.
| Parameter | Type | Description |
|---|---|---|
document_id * | integer | The parent document ID |
page_number | integer | Page number (default 1) |
page_size | integer | Results per page (default 50, max 1000) |
response_format | string | Output format: human-readable markdown (default) or structured JSON |
itglue_get_document_section Get IT Glue Document Section
Get one document section with its full content (HTML on the wire; markdown output converts to plain text).
| Parameter | Type | Description |
|---|---|---|
document_id * | integer | The parent document ID |
section_id * | integer | The section ID |
response_format | string | Output format: human-readable markdown (default) or structured JSON |
itglue_create_document_section Create IT Glue Document Section
Add a section to a document. Types: Text (HTML content), Heading (content = heading text, level 1-6 required), Gallery (no content), Step (HTML content, optional duration in minutes). Text/Step HTML may include inline images via <img src="https://…"> (rendering depends on IT Glue's sanitization); to attach an image file to the document instead, use itglue_create_attachment.
| Parameter | Type | Description |
|---|---|---|
document_id * | integer | The parent document ID |
section_type * | string | Section type |
content | string | HTML content (Text/Step) or heading text (Heading) |
duration | integer | Duration in minutes (Step only) |
level | integer | Heading level 1-6 (required for Heading) |
response_format | string | Output format: human-readable markdown (default) or structured JSON |
sort | integer | Position within the document (0-based) |
itglue_update_document_section Update IT Glue Document Section
Update a section's content, heading level, duration, or position. Only provided fields change; the section type cannot be changed. Text/Step content may embed inline images via <img src="…">.
| Parameter | Type | Description |
|---|---|---|
document_id * | integer | The parent document ID |
section_id * | integer | The section ID to update |
content | string | New HTML content (or heading text) |
duration | integer | New duration in minutes (Step only) |
level | integer | New heading level (Heading only) |
response_format | string | Output format: human-readable markdown (default) or structured JSON |
sort | integer | New position within the document |
itglue_delete_document_section Delete IT Glue Document Section
PERMANENTLY delete one section from a document. This cannot be undone. Useful for restructuring a document's layout.
| Parameter | Type | Description |
|---|---|---|
document_id * | integer | The parent document ID |
section_id * | integer | The section ID to delete |
itglue_create_attachment Create IT Glue Attachment
Attach an image or file to a record (document, flexible asset, configuration, etc.). The file appears under the record's Attachments in IT Glue. Provide exactly one image source: content_base64 (a base64 string, optionally a data: URI), url (the server fetches and encodes it), or file_path (local stdio runs only). Give file_name with an extension (e.g. network-diagram.png) so IT Glue detects the type; it is inferred from url/file_path when omitted. Max 25 MB.
| Parameter | Type | Description |
|---|---|---|
resource_id * | integer | The parent record ID |
resource_type * | string | The record type to attach to |
content_base64 | string | Base64-encoded file bytes (a leading data: URI prefix is stripped) |
file_name | string | Display file name with extension; inferred from url/file_path if omitted |
file_path | string | Local filesystem path to read (stdio transport only) |
response_format | string | Output format: human-readable markdown (default) or structured JSON |
url | string | URL the server fetches and base64-encodes |
itglue_list_attachments List IT Glue Attachments
List the attachments on a record (document, flexible asset, configuration, etc.), with attachment IDs (needed for delete), file names, content types, and download URLs.
| Parameter | Type | Description |
|---|---|---|
resource_id * | integer | The parent record ID |
resource_type * | string | The record type |
page_number | integer | Page number (default 1) |
page_size | integer | Results per page (default 50, max 1000) |
response_format | string | Output format: human-readable markdown (default) or structured JSON |
itglue_delete_attachment Delete IT Glue Attachment
PERMANENTLY delete an attachment from a record. This cannot be undone. Find the attachment ID with itglue_list_attachments.
| Parameter | Type | Description |
|---|---|---|
attachment_id * | integer | The attachment ID to delete |
resource_id * | integer | The parent record ID |
resource_type * | string | The record type |
itglue_list_flexible_asset_types List IT Glue Flexible Asset Types
List flexible asset types (the schemas MSPs define in IT Glue, e.g. 'Wireless', 'Applications'). Use this to find the type ID required by itglue_list_flexible_assets. filter_name matches partially and case-insensitively. List items carry summary fields; use itglue_get_flexible_asset_type for field definitions.
| Parameter | Type | Description |
|---|---|---|
filter_name | string | Filter by type name |
page_number | integer | Page number (default 1) |
page_size | integer | Results per page (default 50, max 1000) |
response_format | string | Output format: human-readable markdown (default) or structured JSON |
itglue_get_flexible_asset_type Get IT Glue Flexible Asset Type
Get a flexible asset type by ID, including its field definitions (name, kind, required) — the trait keys needed to create or update assets of this type.
| Parameter | Type | Description |
|---|---|---|
flexible_asset_type_id * | integer | The flexible asset type ID |
response_format | string | Output format: human-readable markdown (default) or structured JSON |
itglue_list_flexible_assets List IT Glue Flexible Assets
List flexible assets of a given type, optionally restricted to one organization. The type ID is required by the IT Glue API — find it with itglue_list_flexible_asset_types. List items show bounded trait previews (HTML stripped, long values truncated); use itglue_get_flexible_asset for full trait values.
| Parameter | Type | Description |
|---|---|---|
flexible_asset_type_id * | integer | Flexible asset type ID (required) |
organization_id | integer | Restrict to one organization |
page_number | integer | Page number (default 1) |
page_size | integer | Results per page (default 50, max 1000) |
response_format | string | Output format: human-readable markdown (default) or structured JSON |
itglue_get_flexible_asset Get IT Glue Flexible Asset
Get one flexible asset by ID, including all of its traits.
| Parameter | Type | Description |
|---|---|---|
flexible_asset_id * | integer | The flexible asset ID |
response_format | string | Output format: human-readable markdown (default) or structured JSON |
itglue_create_flexible_asset Create IT Glue Flexible Asset
Create a flexible asset. Traits are the type's fields keyed by their lowercased, hyphenated names (inspect them with itglue_get_flexible_asset_type). All required traits must be provided.
| Parameter | Type | Description |
|---|---|---|
flexible_asset_type_id * | integer | Flexible asset type ID |
organization_id * | integer | Organization to create the asset in |
traits * | object | Field values keyed by trait name, e.g. {"ssid-name": "Corp", "vlan": 12} |
response_format | string | Output format: human-readable markdown (default) or structured JSON |
itglue_update_flexible_asset Update IT Glue Flexible Asset
Update a flexible asset's traits. IMPORTANT: IT Glue replaces the traits object wholesale — fetch the asset first and send back ALL traits, not just the changed ones, or omitted traits are cleared.
| Parameter | Type | Description |
|---|---|---|
flexible_asset_id * | integer | The flexible asset ID to update |
traits * | object | The COMPLETE set of trait values (omitted traits are cleared) |
response_format | string | Output format: human-readable markdown (default) or structured JSON |
itglue_delete_flexible_asset Delete IT Glue Flexible Asset
PERMANENTLY delete a flexible asset. This cannot be undone.
| Parameter | Type | Description |
|---|---|---|
flexible_asset_id * | integer | The flexible asset ID to delete |