Skip to main content
Glama

Social Media Agency Directory

Search agencies

search_agencies
Read-onlyIdempotent

Find social media marketing agencies and freelancers in the directory. All filters are optional and combine with AND. Results are ordered by relevance to the query, then rating, then name. Returns a page of agency summaries with total, limit and offset for paging; call get_agency with a result's slug for the full profile.

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

Input Schema

NameRequiredDescriptionDefault
cityNoCity name or slug, e.g. "London". See list_locations.
limitNo
queryNoFree text matched against name, description, location and services, e.g. "restaurants" or "tiktok ads".
offsetNo
countryNoCountry name or slug, e.g. "United Kingdom" or "united-kingdom".
serviceNoService category slug or name, e.g. "paid-social-advertising". See list_services.
platformNoOnly agencies that work on this platform.
verified_onlyNoOnly agencies with the Verified badge.
max_budget_usdNoOnly agencies whose stated minimum monthly budget band tops out at or below this many USD. Agencies without a stated budget are excluded when this is used.

Output Schema

NameRequiredDescriptionDefault
limitYes
totalYesNumber of matching agencies (not just this page).
noticeNoPresent when a filter was not recognised or an argument was adjusted.
offsetYes
resultsYes
attributionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so safety is covered. The description adds behavior beyond that: deterministic ordering by relevance, then rating, then name, plus the paging contract of total/limit/offset. It omits how relevance is computed and whether ordering is stable across pages, which are minor gaps.

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 sentences, front-loaded with the purpose, then filter semantics, then ordering, then return/paging shape. No filler or repetition; each sentence contributes information an agent needs.

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?

For a 9-parameter search tool with an output schema, this is close to complete: it covers filtering logic, ordering, paging, and the follow-up call. The return-shape sentence slightly duplicates the output schema, and no guidance is given on choosing sensible limits or on when zero results are likely.

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 78%, and the description adds genuinely non-schema information: that every filter is optional and that multiple filters are conjunctive (AND), which changes how an agent composes a query. It does not restate individual parameter formats, which is appropriate since the schema already documents them.

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?

States a specific verb and resource: 'Find social media marketing agencies and freelancers in the directory.' Clear what is being searched. It does not explicitly contrast with the sibling top_agencies, so an agent must infer that this is the filtered search path versus a pre-ranked list.

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?

Gives clear operating context: all filters are optional and combine with AND, and it routes the agent onward with 'call get_agency with a result's slug for the full profile.' It does not state when to prefer top_agencies or directory_stats instead, so the alternative-selection guidance is incomplete.

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.

Resources