Skip to content

Search and read

The server has two tools, search and fetch. Both only read. Before either runs, the server checks the user’s rate limit, asks mcp_access, then checks your organization’s rate limit. A call with invalid input is refused before any of these. A refusal at any step comes back to the assistant as a tool error, with one of the messages in What the assistant is told.

  • Published items only. Drafts, scheduled items and deleted items are never searched or returned.
  • This site’s items only. An item is on a site when your CMS places it there. A grant on another of your sites never reveals an item here.
  • Your rules decide each item. mcp_content gives each item its reveal before it is returned. See Decide what each user gets.
  • Each result carries the item’s URL on this site, at every reveal. A path from your CMS is made absolute on the site’s domain. An item your CMS gives no URL for has url null.
  • Each URL is tagged with utm_medium=mcp and utm_source set to the assistant’s registered name, lowercased with dashes (mcp when it has none). A person who follows the link arrives as an MCP referral on their page view.
Reveal search lists it search ranks it on fetch returns
full Yes, with the excerpt Its body text The details and the whole body as text
excerpt Yes, with the excerpt, if it has body text Its lead only The details and the excerpt
metadata Never Nothing The details, with no text
Dropped Never Nothing No content item with that id.

The excerpt is the item’s lead: its description, else the opening of its body, cut to about 300 characters at a word. It is never the passage that matched the query. A search result never carries more than the excerpt, even at full: the assistant calls fetch to read the rest.

Search ranks an item only on text its reveal shows. An item at excerpt is found by words in its lead and never by words that appear only further into its body, so a search cannot tell whether hidden text holds a phrase. An item at metadata shows no text, so search never lists it, but fetch still returns its details to an assistant that has its id.

Shown to the assistant as Search and the site’s name.

Input Type What it does
query string Required. 1 to 500 characters, at most 16 words
from, to string Published on or after, on or before. A date (2026-05-01) or a date and time with an offset
section string A section’s id, key or name
tag string A tag’s id, key or name
author string An author’s id, key or name
content_type string Your CMS’s type, exactly, such as story
language string A BCP 47 tag. en also matches en-GB
limit number How many results, 1 to 20. Default 10
  • A word is any run of letters or digits, whatever separates them: "a"or"b" is three words. A longer query is refused before anything runs.
  • Names in section, tag and author match in any case. Ids and keys match exactly.
  • Dates compare with the item’s first publication, else its display date. A date alone is midnight UTC at its start, so to: "2026-05-01" stops at the start of 1 May.
  • Ranking matches by meaning and by keyword. When more items match than limit and a rerank model is set, it reorders the best candidates, at most twice limit of them. Otherwise results keep their search order.
  • Fewer results than limit can come back while more items match: items dropped for this user still take places among the candidates.
  • A search has 5 seconds to rank. A slower one fails as unavailable.

Each result:

{
"results": [
{
"id": "0193f2c4-7a10-7c3e-9b1d-5f0a2c8e4d61",
"title": "What the tariff ruling changed",
"url": "https://www.example.com/business/2026/05/01/tariff-ruling/?utm_source=claude&utm_medium=mcp",
"content_type": "story",
"content_subtype": null,
"language": "en-GB",
"published_at": "2026-05-01T06:30:00.000Z",
"sections": ["Business"],
"tags": ["Trade"],
"authors": ["Ada Lovelace"],
"excerpt": "The court's decision leaves three questions open for importers…",
"full_available": true
}
]
}
  • id is EdgeKit’s id for the content item: the one fetch takes, and the last part of the item’s address in Content › Content › Items. It is not your CMS’s id.
  • sections, tags and authors are names here, where a rule reads ids. A section or an author your CMS has not named is left out.
  • full_available says whether fetch would return this user the whole text now. A meter can change that before the fetch.

Shown to the assistant as Read from and the site’s name. It takes one input, id: the id a search returned, up to 100 characters.

It returns the same details as a search result, without excerpt and full_available, plus:

  • reveal: full, excerpt or metadata;
  • text: the whole body as plain text at full, the excerpt at excerpt, and absent at metadata. Images carry no text.

fetch is decided as a page read is: a winning rule with Count a read if this rule wins counts on its meter. search never counts. See Meters on this server.

An id that is not a published item on this site, and an item your rules drop, both answer No content item with that id.

Limit Tool calls a minute
Per user 30
Per organization 600, all users together

The per-user limit is checked first, and the organization’s after mcp_access, so a refused call never uses up the organization’s. Listing the tools uses up neither.

Both limits are approximate: a caller whose requests arrive by different routes can make more calls than the table says. Over either limit, the call is refused with Too many requests; try again in a minute. Users register themselves, so the organization’s limit applies however many users sign up: once it is reached, every user’s calls are refused until the minute is over.

A refused or failed call is a tool error inside a normal answer, never an HTTP error. The assistant reads exactly:

Message Cause
You do not have access to this server. mcp_access did not return an outcome that allows, or could not be decided
Too many requests; try again in a minute. The user’s or your organization’s rate limit
No content item with that id. fetch of an id that is not a published item on this site, of an item your rules drop, or of an item that could not be decided
This server is unavailable right now. A search the AI models could not serve, a search over its time limit, a search whose items could not be decided, a rate limit that could not be checked, or any other failure
Input validation error: Invalid arguments for tool search: … An input outside its limits, such as a query over 16 words. The rest of the message names the input. A fetch input says tool fetch

A failure’s message never carries the underlying error. fetch calls no AI model, so it keeps working while the AI models cannot be reached.

Your organization’s AI usage is counted in AI actions:

  • each search that passes mcp_access and the rate limits and answers, even with no results;
  • each fetch that returns an item;
  • each piece of text EdgeKit embeds when it syncs a published item: about 2,000 characters of body each, plus the item’s lead. Text unchanged since it was last embedded is not embedded again and not counted.

A refused call, a call with invalid input, a failed call, and a fetch that answers No content item with that id. are not counted.

edgekit.ai