Skip to main content
Glama

register_integration

Registers a new integration service in ERPNext by submitting an integration definition, enabling external systems to connect and exchange data with your ERPNext/Frappe instance.

Instructions

Register a new integration service

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": {
      "integrationDef": "<integrationDef>"
    },
    "name": "register_integration"
  }
}

Input Schema

NameRequiredDescriptionDefault
integrationDefYesIntegration definition

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.5/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full disclosure burden and fails it: nothing about required permissions, whether re-registering overwrites an existing service, whether the operation is reversible, or what a successful registration returns. Only the word "new" hints at a create-style mutation.

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

Conciseness3/5

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

The single sentence is free of waste but also free of substance; it is short because nothing was explained rather than because it was tightly edited. Nothing is front-loaded beyond the bare purpose.

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

Completeness2/5

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

For a mutation tool with a nested object parameter, no annotations, and no output schema, the definition leaves too much unresolved: the shape of integrationDef, side effects, and result behavior are all undocumented. Only the schema tells the agent anything concrete.

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?

There is a single required parameter with 100% schema coverage, though the schema's own text ("Integration definition") is nearly empty. The description adds no detail about the nested object's expected fields, so the baseline of 3 applies for high coverage with no added meaning.

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

Purpose3/5

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

The description names a verb ("Register") and resource ("integration service"), so the general purpose is inferable. However, it says nothing about what registering entails or how it differs from the sibling manage_integration, leaving the agent to guess at the distinction.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no prerequisites, and no mention of alternatives such as manage_integration. The agent gets no signal about whether this is a one-time setup step or something broader.

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