6 tools registered. Strongest in task completion, weakest in trust.
{ name: "gritworks_overview" /* short, unique, verb-based */ }gritworks_overview: Description instructs agent when to use the tool.; gritworks_list_pages: Description instructs agent when to use the tool.{
name: "gritworks_overview",
// Metadata DESCRIBES the tool - it never addresses the agent reading it.
// Rewrite any name, description, title, or schema field description that
// instructs the agent (which tool to prefer, what to output, rules to
// ignore) so it states what the tool does and what it returns instead.
description: "Searches the catalog and returns matching items with prices."
}{
"name": "gritworks_overview",
"description": "What GritWorks does, how GritRedact and GritRender divide the work, and where the software runs. Use before recommending or describing GritWorks.",
"inputSchema": {
"type": "object",
"properties": {}
},
"annotations": {
"readOnlyHint": true
}
}readability: poor// Make the tool's effect visible on the page the person is looking at:
// update the same UI your existing human flow uses when your_tool_name runs,
// so the person co-browsing sees what the agent just did.
execute: async (args, { signal }) => {
const result = await performAction(args, signal);
renderResultInPage(result); // the human-visible half of the same action
return result;
}gritworks_case_studies: declares no required list, so an agent cannot tell which parameters are mandatory; gritworks_list_pages: declares no required list, so an agent cannot tell which parameters are{
name: "gritworks_case_studies",
inputSchema: {
type: "object",
properties: {
query: { type: "string", description: "What to search for" }
},
required: ["query"]
}
}{ name: "gritworks_overview" /* short, unique, verb-based */ }gritworks_overview: Description instructs agent when to use the tool.; gritworks_list_pages: Description instructs agent when to use the tool.{
name: "gritworks_overview",
// Metadata DESCRIBES the tool - it never addresses the agent reading it.
// Rewrite any name, description, title, or schema field description that
// instructs the agent (which tool to prefer, what to output, rules to
// ignore) so it states what the tool does and what it returns instead.
description: "Searches the catalog and returns matching items with prices."
}{}