Skip to main content
Glama

Extract profile from text/URL

exim__profile__extract

Extracts company, product, market, role, language and contact fields from text, a website or file content and returns them; saves them to your profile when apply is true.

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": "exim__profile__extract"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoCompany website URL (when from='url')
fromNoEarliest month, YYYY-MM.
applyNoSave inferred fields to the profile (default false). Pass true after reviewing the preview.
pagesNoSame-host URLs/routes to read (from=url)
contentNoPlain-text file content (when from='file')
filenameNoFile name for context (when from='file')
utteranceNoFree-text user utterance (when from='text')
baseVersionNoThe loaded version; if it changed, the save is refused with the current value.

Output Schema

NameRequiredDescriptionDefault
dataYes
statsNo
_debugNo
summaryYes
warningsNo
nextActionsYes
correlationIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedOutput schema / $defs / value0 / properties / assessmentLabel
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / $defs / value0 / properties / modelInferred
      Added value: +{
      +  "type": "boolean"
      +}
    • changedOutput schema / $defs / value0 / required
      Previous value: -[
      -  "company",
      -  "companyDescription",
      -  "industries",
      -  "job",
      -  "mails",
      -  "phones",
      -  "preferredLanguage",
      -  "role",
      -  "sellingProducts",
      -  "socials",
      -  "sources",
      -  "targets",
      -  "websites"
      -]New value: +[
      +  "assessmentLabel",
      +  "company",
      +  "modelInferred"
      +]
  2. Changed3 schema fields changed
    • addedOutput schema / properties / data / properties / context / anyOf
      Added value: +[
      +  {
      +    "type": [
      +      "null",
      +      "boolean",
      +      "number",
      +      "string",
      +      "array",
      +      "object"
      +    ]
      +  },
      +  {
      +    "additionalProperties": true,
      +    "properties": {
      +      "referenced": {
      +        "type": "boolean"
      +      },
      +      "rowCount": {
      +        "type": "integer"
      +      },
      +      "url": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "referenced",
      +      "rowCount",
      +      "url"
      +    ],
      +    "type": "object"
      +  }
      +]
    • removedOutput schema / properties / data / properties / context / type
      Removed value: -[
      -  "null",
      -  "boolean",
      -  "number",
      -  "string",
      -  "array",
      -  "object"
      -]
    • changedOutput schema / properties / data / properties / items / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "$ref": "#/$defs/value0"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "anyOf": [
      +        {
      +          "$ref": "#/$defs/value0"
      +        },
      +        {
      +          "additionalProperties": false,
      +          "properties": {
      +            "exportUrl": {
      +              "type": "string"
      +            },
      +            "payloadBytes": {
      +              "type": "integer"
      +            },
      +            "rowCount": {
      +              "type": "integer"
      +            },
      +            "token": {
      +              "type": "string"
      +            },
      +            "url": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "exportUrl",
      +            "payloadBytes",
      +            "rowCount",
      +            "token",
      +            "url"
      +          ],
      +          "type": "object"
      +        }
      +      ]
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  3. Changed1 schema field changed
    • changedInput schema / properties / from / description
      Previous value: -"Input kind: 'text' = utterance; 'url' = website URL; 'file' = use provided text content"New value: +"Earliest month, YYYY-MM."
  4. Changed1 schema field changed
    • changedInput schema / properties / from / description
      Previous value: -"Earliest month, YYYY-MM."New value: +"Input kind: 'text' = utterance; 'url' = website URL; 'file' = use provided text content"
  5. Changed1 schema field changed
    • changedInput schema / properties / from / description
      Previous value: -"Input kind: 'text' = utterance; 'url' = website URL; 'file' = use provided text content"New value: +"Earliest month, YYYY-MM."
  6. Changed18 schema fields changed
    • addedInput schema / not
      Added value: +{
      +  "anyOf": [
      +    {
      +      "not": {
      +        "if": {
      +          "allOf": [
      +            {
      +              "properties": {
      +                "from": {
      +                  "const": "text"
      +                }
      +              },
      +              "required": [
      +                "from"
      +              ]
      +            }
      +          ]
      +        },
      +        "then": {
      +          "anyOf": [
      +            {
      +              "properties": {
      +                "utterance": {
      +                  "minLength": 1,
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "utterance"
      +              ]
      +            }
      +          ]
      +        }
      +      }
      +    },
      +    {
      +      "not": {
      +        "if": {
      +          "allOf": [
      +            {
      +              "properties": {
      +                "from": {
      +                  "const": "file"
      +                }
      +              },
      +              "required": [
      +                "from"
      +              ]
      +            }
      +          ]
      +        },
      +        "then": {
      +          "anyOf": [
      +            {
      +              "properties": {
      +                "content": {
      +                  "minLength": 1,
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "content"
      +              ]
      +            }
      +          ]
      +        }
      +      }
      +    },
      +    {
      +      "not": {
      +        "if": {
      +          "allOf": [
      +            {
      +              "properties": {
      +                "from": {
      +                  "const": "file"
      +                }
      +              },
      +              "required": [
      +                "from"
      +              ]
      +            }
      +          ]
      +        },
      +        "then": {
      +          "anyOf": [
      +            {
      +              "properties": {
      +                "filename": {
      +                  "minLength": 1,
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "filename"
      +              ]
      +            }
      +          ]
      +        }
      +      }
      +    },
      +    {
      +      "not": {
      +        "if": {
      +          "allOf": [
      +            {
      +              "anyOf": [
      +                {
      +                  "not": {
      +                    "required": [
      +                      "from"
      +                    ]
      +                  }
      +                },
      +                {
      +                  "properties": {
      +                    "from": {
      +                      "enum": [
      +                        null,
      +                        "",
      +                        "url"
      +                      ]
      +                    }
      +                  },
      +                  "required": [
      +                    "from"
      +                  ]
      +                }
      +              ]
      +            }
      +          ]
      +        },
      +        "then": {
      +          "anyOf": [
      +            {
      +              "x-argumentCondition": {
      +                "key": "url",
      +                "predicate": "website"
      +              }
      +            }
      +          ]
      +        }
      +      }
      +    }
      +  ]
      +}
    • removedInput schema / properties / --apply
      Removed value: -{
      -  "description": "Save inferred fields to the profile (default false). Pass true after reviewing the preview.",
      -  "type": "boolean"
      -}
    • removedInput schema / properties / --baseVersion
      Removed value: -{
      -  "description": "The loaded version; if it changed, the save is refused with the current value.",
      -  "type": "string"
      -}
    • removedInput schema / properties / --content
      Removed value: -{
      -  "description": "Plain-text file content (when from='file')",
      -  "type": "string"
      -}
    • removedInput schema / properties / --filename
      Removed value: -{
      -  "description": "File name for context (when from='file')",
      -  "type": "string"
      -}
    • removedInput schema / properties / --from
      Removed value: -{
      -  "description": "Source kind: 'text' = extract from utterance; 'url' = crawl website then extract; 'file' = use provided text content",
      -  "enum": [
      -    "text",
      -    "url",
      -    "file"
      -  ],
      -  "type": "string"
      -}
    • removedInput schema / properties / --pages
      Removed value: -{
      -  "description": "Same-host URLs/routes to read (from=url)",
      -  "type": "string"
      -}
    • removedInput schema / properties / --url
      Removed value: -{
      -  "description": "Company website URL (when from='url')",
      -  "type": "string"
      -}
    • removedInput schema / properties / --utterance
      Removed value: -{
      -  "description": "Free-text user utterance (when from='text')",
      -  "type": "string"
      -}
    • addedInput schema / properties / apply
      Added value: +{
      +  "description": "Save inferred fields to the profile (default false). Pass true after reviewing the preview.",
      +  "format": "boolean",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / baseVersion
      Added value: +{
      +  "description": "The loaded version; if it changed, the save is refused with the current value.",
      +  "maxLength": 8000,
      +  "type": "string"
      +}
    • addedInput schema / properties / content
      Added value: +{
      +  "description": "Plain-text file content (when from='file')",
      +  "maxLength": 100000,
      +  "type": "string"
      +}
    • addedInput schema / properties / filename
      Added value: +{
      +  "description": "File name for context (when from='file')",
      +  "maxLength": 8000,
      +  "type": "string"
      +}
    • addedInput schema / properties / from
      Added value: +{
      +  "description": "Input kind: 'text' = utterance; 'url' = website URL; 'file' = use provided text content",
      +  "enum": [
      +    "text",
      +    "url",
      +    "file"
      +  ],
      +  "maxLength": 8000,
      +  "type": "string"
      +}
    • addedInput schema / properties / pages
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maxLength": 8000,
      +      "type": "string"
      +    },
      +    {
      +      "items": {
      +        "maxLength": 8000,
      +        "type": "string"
      +      },
      +      "type": "array"
      +    }
      +  ],
      +  "description": "Same-host URLs/routes to read (from=url)"
      +}
    • addedInput schema / properties / url
      Added value: +{
      +  "description": "Company website URL (when from='url')",
      +  "maxLength": 8000,
      +  "type": "string"
      +}
    • addedInput schema / properties / utterance
      Added value: +{
      +  "description": "Free-text user utterance (when from='text')",
      +  "maxLength": 100000,
      +  "type": "string"
      +}
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$defs": {
      +    "value0": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "company": {
      +          "type": "string"
      +        },
      +        "companyDescription": {
      +          "type": "string"
      +        },
      +        "industries": {
      +          "$ref": "#/$defs/value1"
      +        },
      +        "job": {
      +          "type": "string"
      +        },
      +        "mails": {
      +          "$ref": "#/$defs/value2"
      +        },
      +        "phones": {
      +          "$ref": "#/$defs/value3"
      +        },
      +        "preferredLanguage": {
      +          "type": "string"
      +        },
      +        "role": {
      +          "type": "string"
      +        },
      +        "sellingProducts": {
      +          "$ref": "#/$defs/value9"
      +        },
      +        "socials": {
      +          "$ref": "#/$defs/value7"
      +        },
      +        "sources": {
      +          "$ref": "#/$defs/value4"
      +        },
      +        "targets": {
      +          "$ref": "#/$defs/value5"
      +        },
      +        "websites": {
      +          "$ref": "#/$defs/value6"
      +        }
      +      },
      +      "required": [
      +        "company",
      +        "companyDescription",
      +        "industries",
      +        "job",
      +        "mails",
      +        "phones",
      +        "preferredLanguage",
      +        "role",
      +        "sellingProducts",
      +        "socials",
      +        "sources",
      +        "targets",
      +        "websites"
      +      ],
      +      "type": "object"
      +    },
      +    "value1": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "value10": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "description": {
      +          "type": "string"
      +        },
      +        "name": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "description",
      +        "name"
      +      ],
      +      "type": "object"
      +    },
      +    "value11": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "type": [
      +              "null",
      +              "boolean",
      +              "number",
      +              "string",
      +              "array",
      +              "object"
      +            ]
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "value12": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "$ref": "#/$defs/value13"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "value13": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "command": {
      +          "type": "string"
      +        },
      +        "cost": {
      +          "type": "string"
      +        },
      +        "label": {
      +          "type": "string"
      +        },
      +        "rationale": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "command",
      +        "cost",
      +        "label",
      +        "rationale"
      +      ],
      +      "type": "object"
      +    },
      +    "value14": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": {
      +            "type": "number"
      +          },
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "value15": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "$ref": "#/$defs/value16"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "value16": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "code": {
      +          "type": "string"
      +        },
      +        "message": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "code",
      +        "message"
      +      ],
      +      "type": "object"
      +    },
      +    "value17": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": {
      +            "type": [
      +              "null",
      +              "boolean",
      +              "number",
      +              "string",
      +              "array",
      +              "object"
      +            ]
      +          },
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "value2": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "value3": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "value4": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "value5": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "value6": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "value7": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "$ref": "#/$defs/value8"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "value8": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "platform": {
      +          "type": "string"
      +        },
      +        "url": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "platform",
      +        "url"
      +      ],
      +      "type": "object"
      +    },
      +    "value9": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "$ref": "#/$defs/value10"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    }
      +  },
      +  "additionalProperties": false,
      +  "properties": {
      +    "_debug": {
      +      "$ref": "#/$defs/value17"
      +    },
      +    "correlationId": {
      +      "type": "string"
      +    },
      +    "data": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "context": {
      +          "type": [
      +            "null",
      +            "boolean",
      +            "number",
      +            "string",
      +            "array",
      +            "object"
      +          ]
      +        },
      +        "cursor": {
      +          "type": "string"
      +        },
      +        "has_more": {
      +          "type": "boolean"
      +        },
      +        "items": {
      +          "anyOf": [
      +            {
      +              "items": {
      +                "$ref": "#/$defs/value0"
      +              },
      +              "type": "array"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        }
      +      },
      +      "required": [
      +        "context",
      +        "has_more",
      +        "items"
      +      ],
      +      "type": "object"
      +    },
      +    "nextActions": {
      +      "$ref": "#/$defs/value12"
      +    },
      +    "stats": {
      +      "$ref": "#/$defs/value14"
      +    },
      +    "summary": {
      +      "type": "string"
      +    },
      +    "warnings": {
      +      "$ref": "#/$defs/value15"
      +    }
      +  },
      +  "required": [
      +    "data",
      +    "nextActions",
      +    "summary"
      +  ],
      +  "type": "object"
      +}
  7. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false, idempotentHint=false and openWorldHint=true, so the mutation and open-world profile are already known. The description adds the genuinely useful behavioral fact that the call is a preview by default and only persists when apply is true, which is the non-obvious trait an agent needs. It omits the baseVersion refusal-on-change behavior, but the schema documents that.

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?

A single sentence that front-loads the extraction target, then the source modes, then the conditional write. Every clause carries information; nothing is redundant or restated from the title.

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?

With an output schema present, return values need not be described, and all 8 parameters are fully documented in the schema. The description covers the essential dual read/write nature, but for an open-world tool with a version-conflict guard it could note the baseVersion refusal and the pages crawl option to be fully complete.

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?

Schema description coverage is 100%, so the schema already explains url, pages, content, filename, utterance, apply and baseVersion. The description only echoes the source modes and the apply flag, adding no syntax, format, or precedence detail beyond the structured fields. Baseline 3 applies.

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 names a specific verb (extracts) and resource (profile fields), enumerates the extracted fields, and lists the three supported sources (text, website, file content). It also distinguishes itself implicitly from exim__profile__update by framing the write as conditional on apply=true, though it never names a sibling 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 implied rather than stated: the description indicates a preview-then-save flow via 'saves them to your profile when apply is true', which tells an agent the default call is non-persistent. There is no explicit when-to-use versus exim__profile__update or exim__profile__get, and no exclusion conditions.

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.