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.

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. 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."
  2. 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"
  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. 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"
      +}
  5. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, openWorldHint=true and idempotentHint=false, so the safety profile is covered. The description adds genuinely useful context beyond that: the tool both returns extracted fields and mutates the stored profile conditional on apply, which an agent cannot infer from the annotation set alone.

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, front-loaded with the verb and extracted field set, with the conditional write behavior appended. Nothing is padded and no sentence is wasted.

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?

An output schema exists, so return values need not be described, and the description covers sources, extracted fields, and the apply-driven save. Minor gaps remain around the preview/commit workflow and version-conflict behavior (baseVersion), which are only implied or left to the schema.

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 documents from/url/content/filename/utterance/apply/baseVersion. The description only restates the source triad and the apply flag, adding no format, constraint, or interaction detail beyond the schema; 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?

Specific verb (extracts) plus the resource (company, product, market, role, language and contact fields) and the three source types (text, website, file content). It clearly conveys a read-then-optionally-write shape, but never names or contrasts with close siblings such as exim__profile__update or exim__enrich__contact, so an agent must infer the boundary.

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 notes that fields are returned and only saved when apply is true, which hints at a preview-then-commit flow. There is no explicit 'use this instead of X' routing, no statement of when extraction is inappropriate, and no prerequisites, so an agent gets only indirect guidance.

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.