Skip to main content
Glama

Groundsocial

Find LinkedIn location ids

linkedin_search_locations
Read-onlyIdempotent

LinkedIn location ids (geo ids) matching a place name.

LinkedIn’s own location typeahead: up to 10 places (cities, regions, metro areas, countries) matching a name, each with the geo id linkedin_jobs_search takes as geo_id.

Cost: 1 credit per call, refunded automatically if the call fails. Read-only, public data only. Results include cost_credits and credits_remaining.

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": {
      "query": "<query>"
    },
    "name": "linkedin_search_locations"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesA place name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (readOnly, idempotent, openWorld), the description discloses the cost model (1 credit per call, auto-refunded on failure), the result cap (up to 10 places), the entity types returned (cities, regions, metro areas, countries), and the response fields cost_credits and credits_remaining. With no output schema present, this carries real informational weight.

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

Conciseness4/5

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

Front-loaded with the purpose, followed by scope, cost, and result shape in short lines with no filler. The blank-line paragraph breaks are slightly loose but do not obscure the key facts.

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?

For a one-parameter lookup with no output schema, the description covers purpose, the consuming sibling, cost/refund behavior, result count limit, and the fields returned. An agent has everything needed to call it and interpret the response.

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% and the single param is documented as "A place name," so the baseline is 3. The description adds meaning the schema lacks by specifying the kinds of places the name can resolve to and capping breadth at 10 matches, which helps the agent phrase queries.

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?

States a specific resource and output: "LinkedIn location ids (geo ids) matching a place name." It also positions the tool against the sibling that consumes its output, noting each geo id is what "linkedin_jobs_search takes as geo_id," so an agent can distinguish it from search siblings without inspecting schemas.

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

Usage Guidelines4/5

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

The description gives a clear use context: resolve a place name into a geo id before calling linkedin_jobs_search, and frames itself as "LinkedIn's own location typeahead." It does not state explicit exclusions (e.g., what to do if no match or if you already have a geo id), so it falls short of the 5 bar.

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.