Skip to main content
Glama

Run Account Intelligence

run_account_intelligence

Start an Account Intelligence report for a company LinkedIn URL — firmographics, an ICP verdict, and the buying committee. If a report for this company already exists it is returned free (cached: true) however old it is, until you ask for a refresh. SPENDS CREDITS when no report exists or when refresh is true and the existing report is at least 7 days old. Returns immediately with a report id and status; poll get_account_intelligence until status is "ready".

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": {
      "companyUrl": "<companyUrl>"
    },
    "name": "run_account_intelligence"
  }
}

Input Schema

NameRequiredDescriptionDefault
refreshNoAsk for a new report instead of the existing one. A refresh is only possible once the existing report is 7 days old (before that the same report is returned with refreshAvailableAt) and it spends credits like a first run.
companyUrlYesA LinkedIn company URL, e.g. https://www.linkedin.com/company/acme.

Output Schema

NameRequiredDescriptionDefault
ctaNoPresent in sample mode: how to get live data.
dataYesThe result, or null when nothing matched.
modeYeslive: the caller's workspace. sample: illustrative data for accounts without an approved workspace.
noticeNoPresent in sample mode: explains that the data is illustrative.
creditsNoPresent in live mode while the workspace is out of credits: the account is paused, and the agent should tell the user how to resume.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / credits
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Present in live mode while the workspace is out of credits: the account is paused, and the agent should tell the user how to resume.",
      +  "properties": {
      +    "agentInstruction": {
      +      "description": "What the agent should do about it.",
      +      "type": "string"
      +    },
      +    "message": {
      +      "description": "What happened, for the agent to pass on.",
      +      "type": "string"
      +    },
      +    "status": {
      +      "enum": [
      +        "exhausted"
      +      ],
      +      "type": "string"
      +    },
      +    "url": {
      +      "description": "Where credits are added or the plan changed.",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "status",
      +    "message",
      +    "agentInstruction",
      +    "url"
      +  ],
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / refresh
      Added value: +{
      +  "description": "Ask for a new report instead of the existing one. A refresh is only possible once the existing report is 7 days old (before that the same report is returned with refreshAvailableAt) and it spends credits like a first run.",
      +  "type": "boolean"
      +}
  3. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing cost behavior ("SPENDS CREDITS when no report exists or when refresh is true and the existing report is at least 7 days old"), the caching rule, and the async contract (returns a report id and status). Annotations only mark it non-read-only and non-idempotent; the credit and cache semantics are the operationally critical facts and are supplied here.

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?

Four tight sentences, front-loaded with purpose, then caching, then cost, then the polling contract — the order an agent needs to make a safe call. No redundant restatement of the title or annotations.

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?

An output schema exists, so return-value detail is properly omitted, and the description still covers the async handoff to get_account_intelligence and the credit/cache conditions. Nothing material for a correct invocation is missing for a two-parameter, credit-spending tool.

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, but the description adds cost semantics for refresh that the schema description does not fully convey: that a refresh spends credits like a first run and is gated on the existing report being 7 days old. The main URL parameter needs no further explanation since the schema includes a working example.

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

Purpose5/5

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

Uses a specific verb+resource ("Start an Account Intelligence report for a company LinkedIn URL") and enumerates the deliverable contents: firmographics, an ICP verdict, and the buying committee. It also implicitly separates itself from the read-only sibling by describing start-then-poll behavior.

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

Usage Guidelines5/5

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

Explicitly states the conditions that select this tool versus the cached path ("if a report for this company already exists it is returned free ... until you ask for a refresh") and names the follow-up tool, get_account_intelligence, for polling. The when-to-spend rule is spelled out with a concrete 7-day threshold.

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.